summaryrefslogtreecommitdiff
path: root/src/arg_util.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-01-08 10:07:56 -0800
committerDaniel Mueller <deso@posteo.net>2020-01-08 10:07:56 -0800
commit5357d0dd6dbfbb545ee7ddc41ea4527775ca2e4b (patch)
tree7cd17511797133a0fe97f092de19dd1125567544 /src/arg_util.rs
parent29077fbca88cddf9f6cf4857623c1a50e756c306 (diff)
downloadnitrocli-5357d0dd6dbfbb545ee7ddc41ea4527775ca2e4b.tar.gz
nitrocli-5357d0dd6dbfbb545ee7ddc41ea4527775ca2e4b.tar.bz2
Use symbolic default values where possible
With the switch to using structopt for argument parsing some of the default values have become mere strings, whereas one of our earlier objectives was to have symbolic values where that is possible. As structopt works with symbolic values equally well, this change makes it use those. As a bonus, also list the possible formats for the --format option to the otp set subcommand.
Diffstat (limited to 'src/arg_util.rs')
0 files changed, 0 insertions, 0 deletions