From 109ce14ae11f6a6afb66ddc683c7071ebbf9d352 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 26 Mar 2013 15:21:54 +1000 Subject: syndaemon: list -? in help/man page Signed-off-by: Peter Hutterer --- man/syndaemon.man | 4 ++++ tools/syndaemon.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/man/syndaemon.man b/man/syndaemon.man index a9d69b0..87691d8 100644 --- a/man/syndaemon.man +++ b/man/syndaemon.man @@ -61,6 +61,10 @@ Like \-k but also ignore Modifier+Key combos. \fB\-R\fP Use the XRecord extension for detecting keyboard activity instead of polling the keyboard state. +.LP +.TP +\fB\-?\fP +Show the help message. .SH "ENVIRONMENT VARIABLES" .LP .TP diff --git a/tools/syndaemon.c b/tools/syndaemon.c index 50b7435..29e75f5 100644 --- a/tools/syndaemon.c +++ b/tools/syndaemon.c @@ -88,6 +88,7 @@ usage(void) fprintf(stderr, " -K Like -k but also ignore Modifier+Key combos.\n"); fprintf(stderr, " -R Use the XRecord extension.\n"); fprintf(stderr, " -v Print diagnostic messages.\n"); + fprintf(stderr, " -? Show this help message.\n"); exit(1); } @@ -576,6 +577,7 @@ main(int argc, char *argv[]) case 'v': verbose = 1; break; + case '?': default: usage(); break; -- cgit v1.2.3