donniebreve / touchcursor-linux

TouchCursor style keyboard remapping for Linux.
GNU General Public License v2.0
133 stars 28 forks source link

Fail if arguments given on command line. #77

Closed auouymous closed 2 months ago

donniebreve commented 2 months ago

Why should the program fail to start if arguments are provided?

auouymous commented 2 months ago

So the user knows the arguments they provided have no effect. Many programs support --version and --help arguments, if a user tries these they end up running the service and potentially breaking their keyboard.

Some of my later patches add arguments to list key names or check the config, and incorrectly typing them will run the service. I also have a patch that adds error checking to the config file instead of silently ignoring them.