fix: correct issue where help output for info flag implied multiple flags

This commit is contained in:
Jose Diaz-Gonzalez
2020-04-04 16:18:22 -04:00
parent 6adca89611
commit dfbde56138

View File

@@ -191,7 +191,7 @@ fn-help-subcommand-args() {
if [[ "$arg" == *_FLAG ]]; then
arg="${arg/_FLAG/}"
if [[ $arg == "INFO" ]]; then
arg="SINGLE_INFO_FLAG..."
arg="SINGLE_INFO_FLAG"
args+=" ${BLUE}[--${arg//_/-}]${NORMAL}"
else
args+=" ${BLUE}[-${arg:0:1}|--${arg//_/-}]${NORMAL}"