OpenPHDGuiding / phd2

PHD2 Guiding
https://openphdguiding.org
BSD 3-Clause "New" or "Revised" License
244 stars 111 forks source link

add a command-line option to print the program version #1132

Closed agalasso closed 6 months ago

agalasso commented 6 months ago
$ ./phd2.bin --help
Usage: phd2 [-?] [-i <num>] [-l <str>] [-R] [-s <str>] [-v]
  -?, --help                    display this help and exit
  -i, --instanceNumber=<num>    sets the PHD2 instance number (default = 1)
  -l, --load=<str>              load settings from file and exit
  -R, --Reset                   Reset all PHD2 settings to default values
  -s, --save=<str>              save settings to file and exit
  -v, --version                 print the program version and exit

$ ./phd2.bin --version
2.6.12