summaryrefslogtreecommitdiff
path: root/usr.sbin/ac/ac.c
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-11-17 15:08:58 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-11-17 15:08:58 +0000
commit1a02c46b806bcdfef30dd487b2e900ef11e5f1fa (patch)
tree85f5a644ee7aa2638e4b44c21e009b9e031bce59 /usr.sbin/ac/ac.c
parent00c28f074b0882ef1ecdd2e5df9a27b3d8bdb2de (diff)
the usage message should start with "usage:";
no need for "users", ellipsis allows various users to be specified; synchronize synopsis and usage ok jmc@
Diffstat (limited to 'usr.sbin/ac/ac.c')
-rw-r--r--usr.sbin/ac/ac.c9
1 files changed, 4 insertions, 5 deletions
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);
}