diff options
Diffstat (limited to 'tools')
-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(); } |