2 ms·
Don't call it -i and -x, call it -i and --no-i or better, -i, --include and --no-include. Some getopts can provide this automatically. Last flag wins is a comm
by joeyh 15y ago
Don't call it -i and -x, call it -i and --no-i or better, -i, --include and --no-include. Some getopts can provide this automatically.
Last flag wins is a common choice because it allows
some script to contain yourcommand --include $@
and then you can override with --no-include.