diff options
-rw-r--r-- | usr.sbin/ac/ac.8 | 8 | ||||
-rw-r--r-- | usr.sbin/ac/ac.c | 9 |
2 files changed, 8 insertions, 9 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8 index 10c5411cf6a..612a9b24d2f 100644 --- a/usr.sbin/ac/ac.8 +++ b/usr.sbin/ac/ac.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ac.8,v 1.18 2007/05/31 19:20:21 jmc Exp $ +.\" $OpenBSD: ac.8,v 1.19 2007/11/17 15:08:57 sobrado Exp $ .\" .\" Copyright (c) 1994 Simon J. Gerraty .\" Copyright (c) 1994 Christopher G. Demetriou @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: November 17 2007 $ .Dt AC 8 .Os .Sh NAME @@ -41,7 +41,7 @@ .\".Op Fl c Ar console .Op Fl t Ar tty .Op Fl w Ar wtmp -.Op Ar users ... +.Op Ar user ... .Sh DESCRIPTION If the file .Pa /var/log/wtmp @@ -88,7 +88,7 @@ Read connect time data from .Ar wtmp instead of the default file, .Pa /var/log/wtmp . -.It Ar users ... +.It Ar user ... Display totals for the given individuals only. .El .Pp diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index 12857821889..ede3854c878 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -14,7 +14,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: ac.c,v 1.18 2006/04/03 21:32:38 dhill Exp $"; +static const char rcsid[] = "$OpenBSD: ac.c,v 1.19 2007/11/17 15:08:57 sobrado Exp $"; #endif #include <sys/types.h> @@ -528,13 +528,12 @@ void usage(void) { extern char *__progname; - (void)fprintf(stderr, + (void)fprintf(stderr, "usage: " #ifdef CONSOLE_TTY - "%s [-d | -p] [-c console] [-t tty] [-w wtmp] [users ...]\n", + "%s [-dp] [-c console] [-t tty] [-w wtmp] [user ...]\n", __progname); #else - "%s [-d | -p] [-t tty] [-w wtmp] [users ...]\n", - __progname); + "%s [-dp] [-t tty] [-w wtmp] [user ...]\n", __progname); #endif exit(1); } |