Skip to content

Commit

Permalink
Merge #1991
Browse files Browse the repository at this point in the history
1991: docs: switch debug and verbosity args in macro example r=pksunkara a=rleppink



Co-authored-by: Ronald Leppink <[email protected]>
  • Loading branch information
bors[bot] and rleppink authored Jun 28, 2020
2 parents ca27d50 + 036ba49 commit 5ca8dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,12 +350,12 @@ fn main() {
(about: "Does awesome things")
(@arg CONFIG: -c --config +takes_value "Sets a custom config file")
(@arg INPUT: +required "Sets the input file to use")
(@arg debug: -d ... "Sets the level of debugging information")
(@arg verbose: -v --verbose "Print test information verbosely")
(@subcommand test =>
(about: "controls testing features")
(version: "1.3")
(author: "Someone E. <[email protected]>")
(@arg verbose: -v --verbose "Print test information verbosely")
(@arg debug: -d ... "Sets the level of debugging information")
)
).get_matches();
Expand Down

0 comments on commit 5ca8dfb

Please sign in to comment.