diff options
author | jmc <jmc@openbsd.org> | 2007-02-18 23:04:56 +0000 |
---|---|---|
committer | jmc <jmc@openbsd.org> | 2007-02-18 23:04:56 +0000 |
commit | 5a54305231c9bd7e168266f502e37c677454c3f3 (patch) | |
tree | be3c1c058977c74c43f92886958b23ebe3c6f875 /usr.sbin/quotaon | |
parent | tidy up synopsis and options list; from Igor Sobrado (diff) | |
download | wireguard-openbsd-5a54305231c9bd7e168266f502e37c677454c3f3.tar.xz wireguard-openbsd-5a54305231c9bd7e168266f502e37c677454c3f3.zip |
simplify synopsis and usage(); based on a diff from Igor Sobrado
Diffstat (limited to 'usr.sbin/quotaon')
-rw-r--r-- | usr.sbin/quotaon/quotaon.8 | 27 | ||||
-rw-r--r-- | usr.sbin/quotaon/quotaon.c | 5 |
2 files changed, 8 insertions, 24 deletions
diff --git a/usr.sbin/quotaon/quotaon.8 b/usr.sbin/quotaon/quotaon.8 index 71ac113dc0c..98442326747 100644 --- a/usr.sbin/quotaon/quotaon.8 +++ b/usr.sbin/quotaon/quotaon.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: quotaon.8,v 1.6 2003/06/02 23:36:54 millert Exp $ +.\" $OpenBSD: quotaon.8,v 1.7 2007/02/18 23:04:56 jmc Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)quotaon.8 8.2 (Berkeley) 12/11/93 -.\" $Id: quotaon.8,v 1.6 2003/06/02 23:36:54 millert Exp $ +.\" $Id: quotaon.8,v 1.7 2007/02/18 23:04:56 jmc Exp $ .\" .Dd December 11, 1993 .Dt QUOTAON 8 @@ -41,26 +41,11 @@ .Nd turn filesystem quotas on and off .Sh SYNOPSIS .Nm quotaon -.Op Fl g -.Op Fl u -.Op Fl v -.Ar filesystem Op Ar ... -.Nm quotaon -.Op Fl g -.Op Fl u -.Op Fl v -.Fl a -.Pp +.Op Fl aguv +.Ar filesystem ... .Nm quotaoff -.Op Fl g -.Op Fl u -.Op Fl v -.Ar filesystem Op Ar ... -.Nm quotaoff -.Op Fl g -.Op Fl u -.Op Fl v -.Fl a +.Op Fl aguv +.Ar filesystem ... .Sh DESCRIPTION .Nm quotaon announces to the system that disk quotas should be enabled on one or more diff --git a/usr.sbin/quotaon/quotaon.c b/usr.sbin/quotaon/quotaon.c index 31707b9388d..5c08a047057 100644 --- a/usr.sbin/quotaon/quotaon.c +++ b/usr.sbin/quotaon/quotaon.c @@ -38,7 +38,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)quotaon.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$Id: quotaon.c,v 1.21 2006/05/14 17:10:41 dhill Exp $"; +static char *rcsid = "$Id: quotaon.c,v 1.22 2007/02/18 23:04:56 jmc Exp $"; #endif /* not lint */ /* @@ -147,8 +147,7 @@ main(int argc, char *argv[]) usage(char *whoami) { - fprintf(stderr, "Usage:\n\t%s [-g] [-u] [-v] -a\n", whoami); - fprintf(stderr, "\t%s [-g] [-u] [-v] filesys ...\n", whoami); + fprintf(stderr, "usage: %s [-aguv] filesystem ...\n", whoami); exit(1); } |