Skip to content

Commit 4b30bcf

Browse files
committed
opts: rephrase wording for --all and -p
1 parent 532973c commit 4b30bcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo-fmt/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub struct Opts {
3636
#[structopt(long = "version")]
3737
version: bool,
3838

39-
/// Specify package to format (only usable in workspaces)
39+
/// Specify package to format
4040
#[structopt(short = "p", long = "package", value_name = "package")]
4141
packages: Vec<String>,
4242

@@ -53,7 +53,7 @@ pub struct Opts {
5353
#[structopt(name = "rustfmt_options", raw(true))]
5454
rustfmt_options: Vec<String>,
5555

56-
/// Format all packages (only usable in workspaces)
56+
/// Format not only workspace packages, but also their local path-based dependencies
5757
#[structopt(long = "all")]
5858
format_all: bool,
5959

0 commit comments

Comments
 (0)