- Describe the -I option in the man page.

- Add the -I option in the usage line.
This commit is contained in:
Kazutaka YOKOTA 1998-03-12 15:00:06 +00:00
parent df5cf212e6
commit f82812a2cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34523
2 changed files with 14 additions and 3 deletions

View File

@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $Id: moused.8,v 1.10 1998/01/05 12:38:13 yokota Exp $
.\" $Id: moused.8,v 1.11 1998/01/25 15:49:00 yokota Exp $
.\"
.Dd December 3, 1997
.Dt MOUSED 8
@ -39,6 +39,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl 3DPRcdfs
.Op Fl I Ar file
.Op Fl F Ar rate
.Op Fl r Ar resolution
.Op Fl S Ar baudrate
@ -106,6 +107,12 @@ to operate in the
mode.
.It Fl F Ar rate
Set the report rate (reports/sec) of the device if supported.
.It Fl I Ar file
Write the process id of the
.Nm
daemon in the specified file.
Without this option, the process id will be stored in
.Pa /var/run/moused.pid .
.It Fl P
Do not start the Plug and Play COM device enumeration procedure
when identifying the serial mouse.
@ -437,6 +444,10 @@ PS/2 mouse driver
virtualized mouse driver
.It Pa /dev/ttyv%d
virtual consoles
.It Pa /var/run/moused.pid
process id of the currently running
.Nm
daemon
.El
.Sh EXAMPLE
.Pp

View File

@ -46,7 +46,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: moused.c,v 1.16 1998/03/06 03:09:31 yokota Exp $";
"$Id: moused.c,v 1.17 1998/03/07 09:03:43 jkh Exp $";
#endif /* not lint */
#include <err.h>
@ -754,7 +754,7 @@ static void
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n",
"usage: moused [-3DRcdfs] [-F rate] [-r resolution] [-S baudrate] [-C threshold]",
"usage: moused [-3DRcdfs] [-I file] [-F rate] [-r resolution] [-S baudrate] [-C threshold]",
" [-m N=M] [-z N] [-t <mousetype>] -p <port>",
" moused [-d] -i -p <port>");
exit(1);