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

This commit is contained in:
dholland 2020-01-20 21:35:41 +00:00
parent 5edfd5c42b
commit cdca48c40d
1 changed files with 11 additions and 10 deletions

View File

@ -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