From b06b668dd6a020d19bcafca8e9dff8b2486019f8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 20 May 2020 03:03:46 -0400 Subject: nitpickery --- unsaver.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'unsaver.c') diff --git a/unsaver.c b/unsaver.c index a612ff2..ec502df 100644 --- a/unsaver.c +++ b/unsaver.c @@ -1,3 +1,7 @@ +/* unsaver, by B. Watson, released under the WTFPL. + the latest version of this file can be found at: + http://urchlay.naptime.net/repos/unsaver/ */ + /* need this, or else we don't get a prototype for strdup() from string.h */ #define _XOPEN_SOURCE 500 @@ -77,10 +81,10 @@ struct inotify_event *inotify_ev = (struct inotify_event *)inotify_buf; /* not going to include pages of usage info duplicating the man page */ void usage(void) { printf(PROJ " v" VERSION " by B. Watson, WTFPL\n"); - printf("Usage: %s [-i interval] [-m | -b button | -k keycode | -c command | -x]\n", self); - printf(" [-j | -f ] [-d] [inputdir] [joystick [...]]\n"); + printf("Usage: %s [-i interval] [-k keycode | -b button | -m | -c command | -x]\n", self); + printf(" [-j | -f ] [-d] [joystick [...]]\n"); printf("Built-in defaults: MAX_STICKS=%d, -d " EVENTDIR ", -j " JSNODE "\n", MAX_STICKS); - printf("See man page for details\n"); + printf("See man page for details.\n"); exit(0); } -- cgit v1.2.3