opts: rephrase wording for --all and -p

This commit is contained in:
Laurențiu Nicola 2019-11-08 23:50:18 +02:00 committed by Caleb Cartwright
parent b10ab51fed
commit 67a59f6ee3

View File

@ -36,7 +36,7 @@ pub struct Opts {
#[structopt(long = "version")]
version: bool,
/// Specify package to format (only usable in workspaces)
/// Specify package to format
#[structopt(short = "p", long = "package", value_name = "package")]
packages: Vec<String>,
@ -53,7 +53,7 @@ pub struct Opts {
#[structopt(name = "rustfmt_options", raw(true))]
rustfmt_options: Vec<String>,
/// Format all packages (only usable in workspaces)
/// Format all packages, and also their local path-based dependencies
#[structopt(long = "all")]
format_all: bool,
}