rerun / rerun

Core rerun. See also http://github.com/rerun-modules

Home Page:http://rerun.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't reference environment variables for option defaults

ahonor opened this issue · comments

I might have an option named --catalina-base and want it defaulted to the environment variable $CATALINA_BASE.

--catalina-base <$CATALINA_BASE>

The option processor resets CATALINA_BASE to the empty string. This effectively eliminates the default value.

The option processor should only initialize the variable to an empty value if it is unset.

Good catch!