diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-07-01 07:36:28 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2006-07-01 07:36:28 +0000 |
commit | 4234c845667038144615eff8b8ba81e549593228 (patch) | |
tree | 0e701a6a1a661b816ad22fd8119a72049f98a24a | |
parent | fba7647604f30e92d0a428c5ec4ca5b694c3a8b4 (diff) |
simplify synopsis/usage(); ok tedu
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.8 | 16 | ||||
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 7 |
2 files changed, 8 insertions, 15 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.8 b/usr.sbin/vnconfig/vnconfig.8 index f3312c0bb9a..65f44bb6106 100644 --- a/usr.sbin/vnconfig/vnconfig.8 +++ b/usr.sbin/vnconfig/vnconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vnconfig.8,v 1.24 2006/06/30 16:09:27 tedu Exp $ +.\" $OpenBSD: vnconfig.8,v 1.25 2006/07/01 07:36:27 jmc Exp $ .\" .\" Copyright (c) 1993 University of Utah. .\" Copyright (c) 1980, 1989, 1991, 1993 @@ -42,17 +42,10 @@ .Nd "configure vnode disks for file swapping or pseudo file systems" .Sh SYNOPSIS .Nm -.Op Fl c -.Op Fl vk +.Op Fl ckluv +.Op Fl K Ar rounds .Ar rawdev .Ar regular_file -.Nm -.Fl u -.Op Fl v -.Ar rawdev -.Nm -.Fl l -.Op Ar rawdev .Sh DESCRIPTION The .Nm @@ -111,7 +104,8 @@ If a specific .Ar rawdev is given, then only that one will be described. .It Fl u -Unconfigures the device. +Unconfigures a +.Ar rawdev . .It Fl v Print messages to stdout describing actions taken. .El diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index dfb281928b3..e2dfe2769c9 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnconfig.c,v 1.17 2006/06/30 16:09:27 tedu Exp $ */ +/* $OpenBSD: vnconfig.c,v 1.18 2006/07/01 07:36:27 jmc Exp $ */ /* * Copyright (c) 1993 University of Utah. * Copyright (c) 1990, 1993 @@ -274,8 +274,7 @@ usage(void) extern char *__progname; (void)fprintf(stderr, - "usage: %s [-c] [-vk] [-K rounds] rawdev regular-file\n" - " %s -u [-v] rawdev\n" - " %s -l [rawdev]\n", __progname, __progname, __progname); + "usage: %s [-ckluv] [-K rounds] rawdev regular_file\n", + __progname); exit(1); } |