[PATCH synaptics 3/6] synclient: support -? for usage
Peter Hutterer
peter.hutterer at who-t.net
Mon Mar 25 22:28:46 PDT 2013
man page and help claim we support this, so let's do so
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
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
More information about the xorg-devel
mailing list