Expand the usage info to include the possible options for -i,

and fix the printf so that the line actually gets printed.
This commit is contained in:
Doug Barton 2001-08-09 18:12:07 +00:00
parent 8b42d7fc11
commit 040eea4cc8

View File

@ -1006,11 +1006,11 @@ cleanup(int sig)
static void static void
usage(void) usage(void)
{ {
fprintf(stderr, "%s\n%s\n%s\n", fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]", "usage: moused [-DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate]",
" [-a X [,Y]] [-C threshold] [-m N=M] [-w N] [-z N]", " [-a X [,Y]] [-C threshold] [-m N=M] [-w N] [-z N]",
" [-t <mousetype>] [-3 [-E timeout]] -p <port>", " [-t <mousetype>] [-3 [-E timeout]] -p <port>",
" moused [-d] -i <info> -p <port>"); " moused [-d] -i <port|if|type|model|all> -p <port>");
exit(1); exit(1);
} }