Skip to content

Commit

Permalink
opts: rephrase wording for --all and -p (#3914)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola authored and topecongiro committed Nov 12, 2019
1 parent f4e017d commit c1ada05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cargo-fmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,

Expand All @@ -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,

Expand Down

0 comments on commit c1ada05

Please sign in to comment.