summaryrefslogtreecommitdiff
path: root/quota.1
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2018-01-10 09:54:34 +0100
committerJan Kara <jack@suse.cz>2018-01-10 09:54:34 +0100
commit810bf9488fe74c90258b542ba2cb0d130e3785dd (patch)
tree394d9c1f3f5a9d54af76845630690fb605c57edb /quota.1
parent4d81e8b4af6fdecf20ed777d67fe4b25e9fb46f6 (diff)
downloadlinuxquota-810bf9488fe74c90258b542ba2cb0d130e3785dd.tar.gz
Implement manual choice of output unit
Add an optional argument to option -s allowing user to manually specify units used for outputting results. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'quota.1')
-rw-r--r--quota.110
1 files changed, 8 insertions, 2 deletions
diff --git a/quota.1 b/quota.1
index 12dd94c..8166853 100644
--- a/quota.1
+++ b/quota.1
@@ -109,10 +109,16 @@ Print project quotas for the specified project.
will display quotas on filesystems
where no storage is allocated.
.TP
-.B -s, --human-readable
+.B -s, --human-readable[=\f2units\f1]
option will make
.BR quota (1)
-try to choose units for showing limits, used space and used inodes.
+try to choose units for showing limits, used space and used inodes. Units can
+be also specified explicitely by an optional argument in format [
+.BR kgt
+],[
+.BR kgt
+] where the first character specifies space units and the second character
+specifies inode units.
.TP
.B --always-resolve
Always try to translate user / group name to uid / gid even if the name