aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/arg_util.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 /nitrocli/src/arg_util.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 'nitrocli/src/arg_util.rs')
0 files changed, 0 insertions, 0 deletions