Skip to content

Commit

Permalink
Fix --help message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sh1Yo committed Jul 2, 2021
1 parent 7bf1b24 commit 45bb129
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,30 +83,9 @@ pub fn get_config() -> (Config, usize) {
Arg::with_name("output-format")
.short("O")
.long("output-format")
.help("standart, csv, json, url (default is \"standart\")")
.help("standart, json, url (default is \"standart\")")
.takes_value(true)
)
/*.arg(
Arg::with_name("output_format")
.short("O")
.long("output-format")
.help("%m - method, %p - parameters, %u - url.\n (default is \"%m %u % %p\")")
.takes_value(true)
)
.arg(
Arg::with_name("output_delimiter")
.short("D")
.long("output-delimiter")
.help("Delimiter between parameter names (default is \", \")")
.takes_value(true)
)
.arg(
Arg::with_name("output_parameter_template")
.short("T")
.long("output-parameter-template")
.help("(default is \"%s\")")
.takes_value(true)
)*/
.arg(
Arg::with_name("method")
.short("X")
Expand Down

0 comments on commit 45bb129

Please sign in to comment.