-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
If you have:
val configFile by parser.storing("--config", "-c", argName = "CONFIGFILE", help = "Configuration file") { asPath }
val version by parser.flagging("--version", help = "print version and exit")
You cannot specify only "--version" in command line - it will complain about "missing CONFIGFILE"
We need an option for allowing printing version.
Alternatively allow multiple configurations:
usage: --config CONFIGFILE
usage: --version
joffrey-bion and pcoltau