diff options
author | Daniel Mueller <deso@posteo.net> | 2020-01-08 10:07:56 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-01-08 10:07:56 -0800 |
commit | c5b73d50b5c3d6de81e1003d698d57e157a6400f (patch) | |
tree | f913991f48fb8b29b86cb07cfb520f95cab5dd22 /structopt/examples/at_least_two.rs | |
parent | c0d8583e0aba69b0628eb9c036f50a86f33d381f (diff) | |
download | nitrocli-c5b73d50b5c3d6de81e1003d698d57e157a6400f.tar.gz nitrocli-c5b73d50b5c3d6de81e1003d698d57e157a6400f.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 'structopt/examples/at_least_two.rs')
0 files changed, 0 insertions, 0 deletions