D-Rats
D-Rats copied to clipboard
command line params not available on windows
Running PR268 (maybe also other versions) on windows has the effect of terminating immediately D-Rats:
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 %
The --sdebug option works. The --help and --version options do not work on msys2 mingw64. I have not tried the other options yet.