-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1991: docs: switch debug and verbosity args in macro example r=pksunkara a=rleppink Co-authored-by: Ronald Leppink <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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(); | ||
|