diff options
Diffstat (limited to 'unsaver.c')
-rw-r--r-- | unsaver.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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); } |