Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/quota Document the actual behavior of -g; clarify th...



details:   https://anonhg.NetBSD.org/src/rev/ca8f279b5191
branches:  trunk
changeset: 848202:ca8f279b5191
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Jan 20 21:35:41 2020 +0000

description:
Document the actual behavior of -g; clarify the optional user/group args.

diffstat:

 usr.bin/quota/quota.1 |  21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diffs (44 lines):

diff -r 6360d2611dce -r ca8f279b5191 usr.bin/quota/quota.1
--- a/usr.bin/quota/quota.1     Mon Jan 20 21:30:41 2020 +0000
+++ b/usr.bin/quota/quota.1     Mon Jan 20 21:35:41 2020 +0000
@@ -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 @@
 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 @@
 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
+argument with the
+.Fl u
+flag to view quotas for other users.
+Non-super-users can use the optional
+.Ar group
+argument with the
 .Fl g
-flag and optional
-.Ar group
-argument to view only the limits of groups of which they are members.
+flag to view only the limits of groups they belong to.
 .Pp
 Only the super-user may use the
 .Fl d



Home | Main Index | Thread Index | Old Index