about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2019-11-08 23:50:18 +0200
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2021-09-13 18:57:31 -0500
commit67a59f6ee35c3cfd75e2aab5a8475608e167840b (patch)
treeed9323e2f99feec2beae8a4995a9b5a45ff7f741
parentb10ab51fed62f54010a786e3f7d018700464b786 (diff)
downloadrust-67a59f6ee35c3cfd75e2aab5a8475608e167840b.tar.gz
rust-67a59f6ee35c3cfd75e2aab5a8475608e167840b.zip
opts: rephrase wording for --all and -p
-rw-r--r--src/cargo-fmt/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cargo-fmt/main.rs b/src/cargo-fmt/main.rs
index f8cf698525b..f1125fa0bda 100644
--- a/src/cargo-fmt/main.rs
+++ b/src/cargo-fmt/main.rs
@@ -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,
 }