ham-radio-software / D-Rats

D-Rats program for D-Star Ham Radios
https://iz2lxi.jimdofree.com/
Other
44 stars 13 forks source link

command line params not available on windows #271

Open maurizioandreotti opened 1 year ago

maurizioandreotti commented 1 year ago

Running PR268 (maybe also other versions) on windows has the effect of terminating immediately D-Rats: image while the same works on macOs:

(d-rats4) maurizio@Mao-MacbookAir D-Rats-PR-268 % ./d-rats.py --help
INFO:MacOSXPlatform:Forcing DISPLAY for MacOS
INFO:QST:FeedParser not available
INFO:Spelling:Demand-opening aspell...
INFO:Spelling:Tested spelling okay: ['spelling,', 'spelino,', 'peeling,', 'soling,', 'spring,', 'sterling,', 'spline,', 'feeling']
usage: d-rats.py [-h] [-c CONFIG] [--loglevel LOGLEVEL] [-p] [-s] [-v]
                 [--sdebug]

DRATS

options:
  -h, --help            show this help message and exit
  -c CONFIG, --config CONFIG
                        Use alternate configuration directory (default:
                        /Users/maurizio/.d-rats-ev)
  --loglevel LOGLEVEL   LOGLEVEL TO TEST WITH (default: INFO)
  -p, --profile         Enable profiling (default: False)
  -s, --safe            Safe mode (ignore configuration) (default: False)
  -v, --version         Show version. (default: False)
  --sdebug              Log serial port data. (default: False)
(d-rats4) maurizio@Mao-MacbookAir D-Rats-PR-268 % 
wb8tyw commented 1 year ago

The --sdebug option works. The --help and --version options do not work on msys2 mingw64. I have not tried the other options yet.