diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-15 15:26:56 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-15 15:26:56 -0800 |
commit | 984f5fadd1bfcd0184af8bddc4973acfe8affb64 (patch) | |
tree | b2a637f7b261964a949ccc3a2f80970cd39ea7a6 /nitrokey-sys/src/lib.rs | |
parent | 74b9b3845846e0fbc2efd37d80b5527be1bee564 (diff) | |
download | nitrocli-984f5fadd1bfcd0184af8bddc4973acfe8affb64.tar.gz nitrocli-984f5fadd1bfcd0184af8bddc4973acfe8affb64.tar.bz2 |
Auto-generate help text for enum-backed optional arguments
This change continues the effort of auto-generating more of the help
text content by extending the logic to optional arguments. We make use
of the fmt_enum macro to format the description of the argument with the
available variants (as well as the default, if any) interpolated.
Diffstat (limited to 'nitrokey-sys/src/lib.rs')
0 files changed, 0 insertions, 0 deletions