opts: rephrase wording for --all and -p
This commit is contained in:
parent
b10ab51fed
commit
67a59f6ee3
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ pub struct Opts {
|
||||||
#[structopt(long = "version")]
|
#[structopt(long = "version")]
|
||||||
version: bool,
|
version: bool,
|
||||||
|
|
||||||
/// Specify package to format (only usable in workspaces)
|
/// Specify package to format
|
||||||
#[structopt(short = "p", long = "package", value_name = "package")]
|
#[structopt(short = "p", long = "package", value_name = "package")]
|
||||||
packages: Vec<String>,
|
packages: Vec<String>,
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ pub struct Opts {
|
||||||
#[structopt(name = "rustfmt_options", raw(true))]
|
#[structopt(name = "rustfmt_options", raw(true))]
|
||||||
rustfmt_options: Vec<String>,
|
rustfmt_options: Vec<String>,
|
||||||
|
|
||||||
/// Format all packages (only usable in workspaces)
|
/// Format all packages, and also their local path-based dependencies
|
||||||
#[structopt(long = "all")]
|
#[structopt(long = "all")]
|
||||||
format_all: bool,
|
format_all: bool,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue