summaryrefslogtreecommitdiff
path: root/nitrokey/src/config.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-15 15:26:56 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-15 15:26:56 -0800
commit984f5fadd1bfcd0184af8bddc4973acfe8affb64 (patch)
treeb2a637f7b261964a949ccc3a2f80970cd39ea7a6 /nitrokey/src/config.rs
parent74b9b3845846e0fbc2efd37d80b5527be1bee564 (diff)
downloadnitrocli-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/src/config.rs')
0 files changed, 0 insertions, 0 deletions