summaryrefslogtreecommitdiff
path: root/usr.sbin/user
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2000-04-26 06:27:58 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2000-04-26 06:27:58 +0000
commitf76c5031403c89a0bf47d4745003fa08c600bcfa (patch)
tree428422ae09f7bf38a084c87580797323071507e8 /usr.sbin/user
parent34c2d069d67372eb3e39278cadcc3bc70cf5a4de (diff)
make usage readable on a console; eric jackson <shinobi@monkey.org>
Diffstat (limited to 'usr.sbin/user')
-rw-r--r--usr.sbin/user/user.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c
index ffd5f62d2b2..172793a1fff 100644
--- a/usr.sbin/user/user.c
+++ b/usr.sbin/user/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.8 2000/04/24 23:11:14 jakob Exp $ */
+/* $OpenBSD: user.c,v 1.9 2000/04/26 06:27:57 jakob Exp $ */
/* $NetBSD: user.c,v 1.17 2000/04/14 06:26:55 simonb Exp $ */
/*
@@ -927,45 +927,45 @@ void
usermgmt_usage(char *prog)
{
if (strcmp(prog, "useradd") == 0) {
- (void) fprintf(stderr, "Usage: %s -D [-b basedir] [-e expiry] "
- "[-f inactive] [-g group] [-r lowuid..highuid] [-s shell]"
- "\n", prog);
- (void) fprintf(stderr, "Usage: %s [-G group] [-b basedir] "
- "[-c comment] [-d homedir] [-e expiry] [-f inactive]\n"
- "\t[-g group] [-k skeletondir] [-m] [-o] [-p password] "
- "[-r lowuid..highuid] [-s shell]\n\t[-u uid] [-v] user\n",
+ (void) fprintf(stderr, "usage: %s -D [-b basedir] [-e expiry] "
+ "[-f inactive] [-g group]\n\t\t[-r lowuid..highuid] "
+ "[-s shell]\n", prog);
+ (void) fprintf(stderr, "usage: %s [-G group] [-b basedir] "
+ "[-c comment] [-d homedir] [-e expiry]\n\t\t[-f inactive] "
+ "[-g group] [-k skeletondir] [-m] [-o]\n\t\t[-p password] "
+ "[-r lowuid..highuid] [-s shell] [-u uid]\n\t\t[-v] user\n",
prog);
} else if (strcmp(prog, "usermod") == 0) {
- (void) fprintf(stderr, "Usage: %s [-G group] [-c comment] "
- "[-d homedir] [-e expire] [-f inactive] [-g group] "
- "[-l newname] [-m] [-o] [-p password] [-s shell] [-u uid] "
- "[-v] user\n", prog);
+ (void) fprintf(stderr, "usage: %s [-G group] [-c comment] "
+ "[-d homedir] [-e expire] [-f inactive]\n\t\t[-g group] "
+ "[-l newname] [-m] [-o] [-p password]\n\t\t[-s shell] "
+ "[-u uid] [-v] user\n", prog);
} else if (strcmp(prog, "userdel") == 0) {
- (void) fprintf(stderr, "Usage: %s -D [-p preserve]\n", prog);
- (void) fprintf(stderr, "Usage: %s [-p preserve] [-r] [-v] "
+ (void) fprintf(stderr, "usage: %s -D [-p preserve]\n", prog);
+ (void) fprintf(stderr, "usage: %s [-p preserve] [-r] [-v] "
"user\n", prog);
#ifdef EXTENSIONS
} else if (strcmp(prog, "userinfo") == 0) {
- (void) fprintf(stderr, "Usage: %s [-e] [-v] user\n", prog);
+ (void) fprintf(stderr, "usage: %s [-e] [-v] user\n", prog);
#endif
} else if (strcmp(prog, "groupadd") == 0) {
- (void) fprintf(stderr, "Usage: %s [-g gid] [-o] [-v] group\n",
+ (void) fprintf(stderr, "usage: %s [-g gid] [-o] [-v] group\n",
prog);
} else if (strcmp(prog, "groupdel") == 0) {
- (void) fprintf(stderr, "Usage: %s [-v] group\n", prog);
+ (void) fprintf(stderr, "usage: %s [-v] group\n", prog);
} else if (strcmp(prog, "groupmod") == 0) {
- (void) fprintf(stderr, "Usage: %s [-g gid] [-o] [-n newname] "
+ (void) fprintf(stderr, "usage: %s [-g gid] [-o] [-n newname] "
"[-v] group\n", prog);
} else if (strcmp(prog, "user") == 0 || strcmp(prog, "group") == 0) {
- (void) fprintf(stderr, "Usage: %s ( add | del | mod "
+ (void) fprintf(stderr, "usage: %s [ add | del | mod "
#ifdef EXTENSIONS
"| info "
#endif
- ") ...\n",
+ "] ...\n",
prog);
#ifdef EXTENSIONS
} else if (strcmp(prog, "groupinfo") == 0) {
- (void) fprintf(stderr, "Usage: %s [-e] [-v] group\n", prog);
+ (void) fprintf(stderr, "usage: %s [-e] [-v] group\n", prog);
#endif
}
exit(EXIT_FAILURE);