[Unix] Basic command line options (e.g., help, version)
when I launch doomsday in a terminal console, it doesn't give me his version number, help or commands exemple.
If I launch it wothout option, I obtain:
loadGamePlugin: No game library was specified.
Z_Shutdown: Used 0 volumes, total 0 bytes.
Same message for doomsday --help or doomsday --version or doomsday -h
Could you please add this command? All the executable on Linux have this command.
Exemple: launch of doomday in a terminal, the user could obtain default informations like:
- tape --h or
help for list of options exemple of command line
Thanks for your interest.
Labels: User Interface
#2 Updated by skyjake over 8 years ago
- Tags set to Unix, CommandLine
- Subject changed from [Linux] Doomsday executable info to [Unix] Basic command line options (e.g., help, version)
- Category set to User experience
- Assignee set to skyjake
- Priority changed from Normal to High
- Target version set to 1.13
This is actually quite important because users sometimes rely on --help/-h and --version/-v to query basic usage info from the executable.
Also very easy to implement.
#4 Updated by skyjake over 8 years ago
To do this the right way, all the command line options should be documented using Amethyst much like console commands and variables are. This would result in, say,
opthelp.txt that could then be loaded into the help string database.
The brief descriptions of each option would then be printed by
--help. It would be helpful if the options were grouped by domain.
#5 Updated by danij over 8 years ago
There seems to be a fair degree of feature overlap with the in-game help presented via the console. Maybe we can bind a subset of the console commands to a set of command line argument patterns and then reuse the existing system? The advantage of which is that the user can then query what is possible from the command line after launch.