Browse Source

Improved arg help messages

main 0.4.0
Unbewohnte 3 years ago
parent
commit
4dd246c5bd
  1. 8
      src/main.rs

8
src/main.rs

@ -30,7 +30,7 @@ fn main() {
.short("f")
.long("fumo")
.value_name("fumofile")
.help("choose another fumofumo to print")
.help("Choose another fumofumo to print")
.takes_value(true)
.required(false)
.default_value(FUMO_DEFAULT)
@ -40,7 +40,7 @@ fn main() {
.short("d")
.long("fumofiles_directory")
.value_name("fumofiles_directory_path")
.help("look for fumofiles in given directory instead")
.help("Look for fumofiles in given directory")
.takes_value(true)
.required(false)
.default_value(DEFAULT_FUMOFILES_DIR)
@ -49,7 +49,7 @@ fn main() {
Arg::with_name("list_fumos")
.short("l")
.long("list_fumos")
.help("lists all fumofiles in the default directory instead")
.help("Lists all fumofiles in the default directory instead")
.takes_value(false)
.required(false)
)
@ -57,7 +57,7 @@ fn main() {
Arg::with_name("message")
.short("m")
.long("message")
.help("set a message to print")
.help("Message to print")
.takes_value(true)
.index(1)
.multiple(true)

Loading…
Cancel
Save