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:
parent
8b42d7fc11
commit
040eea4cc8
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user