3 ms·
I tend to dedicate -v for version data in my apps, and use a -d(ebug) flag for more verbose logging. Or even follow the VERBOSE env var convention. With some a
by mc4ndr3 5y ago
I tend to dedicate -v for version data in my apps, and use a -d(ebug) flag for more verbose logging. Or even follow the VERBOSE env var convention.
With some apps it's damn near impossible to query the version, especially cross platform. I used to manage a database of that syntax with a tool called "specs".
- IgorPartola 5y ago-d is for daemon mode (never default to this) -p is for PID file -l is for log file -v is for version -L is for verbosity level (e.g.: -L debug) -c is for config file (where all the other options may be specified instead) -h is for help The rest are context-specific.