From 036ba49ccf21594db22466cfbce156fda1825328 Mon Sep 17 00:00:00 2001 From: Ronald Leppink Date: Sun, 28 Jun 2020 14:34:48 +0200 Subject: [PATCH] docs: switch debug and verbosity args in macro example The other examples have `verbosity` as a default arg, and `debug` as a `test` subcommand arg. The macro example has these two switched up -- this corrects that. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3b897b36df..b9732cd9619 100644 --- a/README.md +++ b/README.md @@ -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. ") - (@arg verbose: -v --verbose "Print test information verbosely") + (@arg debug: -d ... "Sets the level of debugging information") ) ).get_matches();