summaryrefslogtreecommitdiff
path: root/argparse/src/test_bool.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-08-22 08:20:22 -0700
committerDaniel Mueller <deso@posteo.net>2019-08-22 08:20:22 -0700
commite9c205f951e11d09bc3f8a56f5f2d62641b588d9 (patch)
treeba642932006ecc0b257ff14c4260d314c82c8d6b /argparse/src/test_bool.rs
parentb66803a4e6a42913d0154e433065c5e478f8c1c1 (diff)
downloadnitrocli-e9c205f951e11d09bc3f8a56f5f2d62641b588d9.tar.gz
nitrocli-e9c205f951e11d09bc3f8a56f5f2d62641b588d9.tar.bz2
Fix incomplete help text for encrypted & unencrypted subcommands
Subcommands of the encrypted and unencrypted commands were found to have a wrong help text displayed. The reason for that behavior was that the subargs were are constructing as part of the argument parsing process were missing the command being requested and instead containing only the subcommand. This change fixes this deficiency. It also adds a test ensuring that the "Usage" string displayed in the help text of each command and subcommand contains the proper arguments.
Diffstat (limited to 'argparse/src/test_bool.rs')
0 files changed, 0 insertions, 0 deletions