summaryrefslogtreecommitdiff
path: root/usr.sbin/user/user.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-12-24 07:17:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-12-24 07:17:05 +0000
commit232824c47bc9385e79b2d25ddb7fcfe108acd712 (patch)
treeff2c34b384d8fe0480f20c50dc47b547eb182c7a /usr.sbin/user/user.c
parent229d872d65676b962f5641f73a3c38de2b1fc14a (diff)
-p requires an argument; from Stefan Pettersson
ok krw
Diffstat (limited to 'usr.sbin/user/user.c')
-rw-r--r--usr.sbin/user/user.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c
index 84f8a56c806..a36937d5e4c 100644
--- a/usr.sbin/user/user.c
+++ b/usr.sbin/user/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.82 2011/12/04 08:28:35 ajacoutot Exp $ */
+/* $OpenBSD: user.c,v 1.83 2011/12/24 07:17:04 jmc Exp $ */
/* $NetBSD: user.c,v 1.69 2003/04/14 17:40:07 agc Exp $ */
/*
@@ -1641,7 +1641,8 @@ usermgmt_usage(const char *prog)
} else if (strcmp(prog, "userdel") == 0) {
(void) fprintf(stderr, "usage: %s -D [-p preserve-value]\n",
prog);
- (void) fprintf(stderr, " %s [-prv] user\n", prog);
+ (void) fprintf(stderr, " %s [-rv] [-p preserve-value] "
+ "user\n", prog);
#ifdef EXTENSIONS
} else if (strcmp(prog, "userinfo") == 0) {
(void) fprintf(stderr, "usage: %s [-e] user\n", prog);