summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wsmoused
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-08-12 21:13:34 +0000
committerjmc <jmc@openbsd.org>2005-08-12 21:13:34 +0000
commita6786888ec93f698348bb7af096c69506cd7f07d (patch)
treedf264630dc8285c8dc3d7b354fd5afb4e5bd156b /usr.sbin/wsmoused
parent- small formatting fixes (diff)
downloadwireguard-openbsd-a6786888ec93f698348bb7af096c69506cd7f07d.tar.xz
wireguard-openbsd-a6786888ec93f698348bb7af096c69506cd7f07d.zip
prefer a simpler synopsis: we do not really need a separate case for -i;
Diffstat (limited to 'usr.sbin/wsmoused')
-rw-r--r--usr.sbin/wsmoused/wsmoused.87
-rw-r--r--usr.sbin/wsmoused/wsmoused.c5
2 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/wsmoused/wsmoused.8 b/usr.sbin/wsmoused/wsmoused.8
index 4e155061d94..fa8f9ce4165 100644
--- a/usr.sbin/wsmoused/wsmoused.8
+++ b/usr.sbin/wsmoused/wsmoused.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wsmoused.8,v 1.13 2005/08/12 21:08:38 jmc Exp $
+.\" $OpenBSD: wsmoused.8,v 1.14 2005/08/12 21:13:34 jmc Exp $
.\"
.\" Copyright (c) 2001 Jean-Baptiste Marchand
.\" All rights reserved.
@@ -32,7 +32,7 @@
.Nd wsmouse daemon
.Sh SYNOPSIS
.Nm wsmoused
-.Op Fl 2df
+.Op Fl 2dfi
.Op Fl C Ar thresh
.Op Fl I Ar file
.Oo
@@ -41,9 +41,6 @@
.Oc
.Op Fl p Ar device
.Op Fl t Ar type
-.Nm wsmoused
-.Fl i
-.Op Fl p Ar device
.Sh DESCRIPTION
.Nm
listens for mouse events on the specified
diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c
index 6ae3e7a7e16..b30185d2bff 100644
--- a/usr.sbin/wsmoused/wsmoused.c
+++ b/usr.sbin/wsmoused/wsmoused.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmoused.c,v 1.18 2004/01/04 21:41:12 drahn Exp $ */
+/* $OpenBSD: wsmoused.c,v 1.19 2005/08/12 21:13:34 jmc Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
@@ -488,9 +488,8 @@ wsmoused(void)
static void
usage(void)
{
- fprintf(stderr, "usage: %s [-2df] [-C thresh] [-I file] [-M N=M] \
+ fprintf(stderr, "usage: %s [-2dfi] [-C thresh] [-I file] [-M N=M] \
[-p device] [-t type]\n", __progname);
- fprintf(stderr, " %s -i [-p device]\n", __progname);
exit(1);
}