Skip to content

Commit

Permalink
Add help in --help
Browse files Browse the repository at this point in the history
  • Loading branch information
marmistrz committed Jul 25, 2017
1 parent 0051fc8 commit 3fa575f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ pub fn get_parser<'a, 'b>() -> App<'a, 'b> {
.required(false)
.takes_value(true)
.multiple(true)
.number_of_values(1),
.number_of_values(1)
.help("Adds a library to be injected"),
)
.arg(
Arg::with_name("command")
.multiple(true)
.required(true)
.help("The command to be executed"),
)
.arg(Arg::with_name("command").multiple(true).required(true))
}

#[cfg(test)]
Expand Down

0 comments on commit 3fa575f

Please sign in to comment.