Harmonize argument help text (#86)

Clap uses "Prints help information" for the help string, so change
verbs to match that.
This commit is contained in:
Casey Rodarmor 2016-11-12 09:52:52 -08:00 committed by GitHub
parent 981823cbab
commit 5a5209fb5c

View File

@ -57,12 +57,12 @@ pub fn app() {
.arg(Arg::with_name("list")
.short("l")
.long("list")
.help("List available recipes")
.help("Lists available recipes")
.conflicts_with("dump")
.conflicts_with("show"))
.arg(Arg::with_name("dump")
.long("dump")
.help("Print entire justfile")
.help("Prints entire justfile")
.conflicts_with("show")
.conflicts_with("list"))
.arg(Arg::with_name("show")
@ -70,43 +70,43 @@ pub fn app() {
.long("show")
.takes_value(true)
.value_name("recipe")
.help("Show information about <recipe>")
.help("Shows information about <recipe>")
.conflicts_with("dump")
.conflicts_with("list"))
.arg(Arg::with_name("quiet")
.short("q")
.long("quiet")
.help("Suppress all output")
.help("Suppresses all output")
.conflicts_with("dry-run"))
.arg(Arg::with_name("dry-run")
.long("dry-run")
.help("Print recipe text without executing")
.help("Prints what just would do without doing it")
.conflicts_with("quiet"))
.arg(Arg::with_name("evaluate")
.long("evaluate")
.help("Print evaluated variables"))
.help("Prints evaluated variables"))
.arg(Arg::with_name("color")
.long("color")
.takes_value(true)
.possible_values(&["auto", "always", "never"])
.default_value("auto")
.help("Print colorful output"))
.help("Prints colorful output"))
.arg(Arg::with_name("set")
.long("set")
.takes_value(true)
.number_of_values(2)
.value_names(&["variable", "value"])
.multiple(true)
.help("Set <variable> to <value>"))
.help("Sets <variable> to <value>"))
.arg(Arg::with_name("working-directory")
.long("working-directory")
.takes_value(true)
.help("Use <working-directory> as working directory. --justfile must also be set")
.help("Uses <working-directory> as working directory. --justfile must also be set")
.requires("justfile"))
.arg(Arg::with_name("justfile")
.long("justfile")
.takes_value(true)
.help("Use <justfile> as justfile. --working-directory must also be set")
.help("Uses <justfile> as justfile. --working-directory must also be set")
.requires("working-directory"))
.arg(Arg::with_name("arguments")
.multiple(true)