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")] #[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,
} }