diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-26 15:18:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-26 15:18:03 +1000 |
commit | eb5f086f29ed5e45cbbaad73a04a7275ab119d03 (patch) | |
tree | 76653383d510ed7c4111e43ac3b59a3dca844ac3 | |
parent | d0590052873d6ce7c28e6e99b6aad33cf6dff944 (diff) |
synclient: support -? for usage
man page and help claim we support this, so let's do so
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tools/synclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index bb9be01..bd7cb61 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -483,7 +483,7 @@ main(int argc, char *argv[]) dump_settings = 1; /* Parse command line parameters */ - while ((c = getopt(argc, argv, "lV")) != -1) { + while ((c = getopt(argc, argv, "lV?")) != -1) { switch (c) { case 'l': dump_settings = 1; @@ -491,6 +491,7 @@ main(int argc, char *argv[]) case 'V': printf("%s\n", VERSION); exit(0); + case '?': default: usage(); } |