FreeEMS Issues - EMStudio
View Issue Details
0000667EMStudioGeneralpublic2012-08-30 14:032012-10-16 15:30
Fred 
Fred 
normalfeatureN/A
closedfixed 
AllAllAll
0.0.1-SNAPSHOT 
0.0.10.0.1 
Improvement
0000667: Add -h and --help to CLI options
It should display a brief on how it works and available options/overrides etc.
I currently have to read the source to figure out what's possible.
No tags attached.

Notes
(0002010)
malcom2073   
2012-09-04 01:47   
Done in 32e0b36a8a276436ae2ab79508693f660ef95a9f on dev
(0002012)
Fred   
2012-09-04 08:07   
Works great, but weird formatting issue:

fred@cheetah:~/workspaces/freetune$ ./emstudio --help /dev/ttyUSB2
Help
Available Commands:
-d <dev> --dev <dev> Open EMStudio, connecting to device <dev>
-h --help Show this help
fred@cheetah:~/workspaces/freetune$ ./emstudio --fuckmtx /dev/ttyUSB2
Unknown command "--fuckmtx"
Help
Available Commands:
-d <dev> --dev <dev> Open EMStudio, connecting to device<dev>
-h --help Show this help

Note the missing space before <dev> in the bogus command output.
(0002211)
malcom2073   
2012-09-22 03:31   
Formatting fixed in 8ccc11c344c0699275e67a0bcf26a7df94bd46f4
(0002346)
Fred   
2012-10-16 15:30   
Checked