Module Name: src
Committed By: dholland
Date: Mon Jan 20 21:35:41 UTC 2020
Modified Files:
src/usr.bin/quota: quota.1
Log Message:
Document the actual behavior of -g; clarify the optional user/group args.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/quota/quota.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/quota/quota.1
diff -u src/usr.bin/quota/quota.1:1.20 src/usr.bin/quota/quota.1:1.21
--- src/usr.bin/quota/quota.1:1.20 Mon Jan 20 21:30:41 2020
+++ src/usr.bin/quota/quota.1 Mon Jan 20 21:35:41 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: quota.1,v 1.20 2020/01/20 21:30:41 dholland Exp $
+.\" $NetBSD: quota.1,v 1.21 2020/01/20 21:35:41 dholland Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -66,7 +66,8 @@ Options:
Query the kernel for default user or group quota instead of a specific
user or group.
.It Fl g
-Print group quotas for the group of which the user is a member.
+Print group quotas.
+By default, print group quotas for all groups the user belongs to.
.It Fl h
Numbers are displayed in a human readable format.
.It Fl q
@@ -87,16 +88,16 @@ and
displays both the user quotas and the group quotas (for
the user).
.Pp
-Only the super-user may use the
-.Fl u
-flag and the optional
+Only the super-user may use the optional
.Ar user
-argument to view the limits of other users.
-Non-super-users can use the
-.Fl g
-flag and optional
+argument with the
+.Fl u
+flag to view quotas for other users.
+Non-super-users can use the optional
.Ar group
-argument to view only the limits of groups of which they are members.
+argument with the
+.Fl g
+flag to view only the limits of groups they belong to.
.Pp
Only the super-user may use the
.Fl d