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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81364

View File

@ -1006,11 +1006,11 @@ cleanup(int sig)
static 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]",
" [-a X [,Y]] [-C threshold] [-m N=M] [-w N] [-z N]",
" [-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);
}