matejak / argbash

Bash argument parsing code generator
Other
1.4k stars 62 forks source link

Empty default for ARG_USE_ENV help text incorrect #79

Closed hemna closed 5 years ago

hemna commented 5 years ago

The help text output for an ARG_USE_ENV is incorrect when the default is empty or isn't specified.

# ARG_USE_ENV([OS_CLOUD], [], [my blah help text])

or

# ARG_USE_ENV([OS_CLOUD], , [my blah help text])

Both of those result in

Environment variables that are supported:
    OS_CLOUD: my blah help text.)

I would expect it to be

Environment variables that are supported:
    OS_CLOUD: my blah help text.