1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-24 05:56:08 +02:00

Hide --list-options-md from the --help message

This commit is contained in:
Elisabeth Henry 2016-03-01 21:25:49 +01:00
parent 7ca0b8f26a
commit 690cdb76ac

View File

@ -93,8 +93,9 @@ pub fn create_matches<'a>() -> ArgMatches<'a> {
.possible_values(&["epub", "pdf", "html", "tex", "odt"]))
.arg(Arg::from_usage("--set [KEY_VALUES] 'Sets a list of book options'")
.min_values(2))
.arg(Arg::from_usage("-l --list-options 'Lists all possible options"))
.arg_from_usage("--list-options-md 'List all options, formatted in Markdown'")
.arg_from_usage("-l --list-options 'Lists all possible options")
.arg(Arg::from_usage("--list-options-md 'List all options, formatted in Markdown'")
.hidden(true))
.arg_from_usage("--print-template [TEMPLATE] 'Displays the default value of a template'")
.arg(Arg::with_name("BOOK")
.index(1)