man page and help claim we support this, so let's do so
Signed-off-by: Peter Hutterer <[email protected]>
---
tools/synclient.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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();
}
--
1.8.1.4
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel