|
|
7c06a3 |
From 97fad5f32bfe24b3a3ce8b3923b27099b746de06 Mon Sep 17 00:00:00 2001
|
|
|
7c06a3 |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
|
7c06a3 |
Date: Wed, 6 Mar 2013 13:41:23 +0100
|
|
|
7c06a3 |
Subject: [PATCH 4/4] Fix various usage mistakes
|
|
|
7c06a3 |
MIME-Version: 1.0
|
|
|
7c06a3 |
Content-Type: text/plain; charset=UTF-8
|
|
|
7c06a3 |
Content-Transfer-Encoding: 8bit
|
|
|
7c06a3 |
|
|
|
7c06a3 |
quota: Fix long variant for -A option in usage
|
|
|
7c06a3 |
repquota: Fix long variant for -c option in usage and manual
|
|
|
7c06a3 |
repquota: Fix long variant for -C option in usage and manual
|
|
|
7c06a3 |
repquota: Add -a, --all options to usage
|
|
|
7c06a3 |
|
|
|
7c06a3 |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
7c06a3 |
Signed-off-by: Jan Kara <jack@suse.cz>
|
|
|
7c06a3 |
---
|
|
|
7c06a3 |
quota.c | 2 +-
|
|
|
7c06a3 |
repquota.8 | 4 ++--
|
|
|
7c06a3 |
repquota.c | 5 +++--
|
|
|
7c06a3 |
3 files changed, 6 insertions(+), 5 deletions(-)
|
|
|
7c06a3 |
|
|
|
7c06a3 |
diff --git a/quota.c b/quota.c
|
|
|
7c06a3 |
index 56e71a8..1befbde 100644
|
|
|
7c06a3 |
--- a/quota.c
|
|
|
7c06a3 |
+++ b/quota.c
|
|
|
7c06a3 |
@@ -102,7 +102,7 @@ static void usage(void)
|
|
|
7c06a3 |
-i, --no-autofs do not query autofs mountpoints\n\
|
|
|
7c06a3 |
-F, --format=formatname display quota of a specific format\n\
|
|
|
7c06a3 |
-f, --filesystem-list display quota information only for given filesystems\n\
|
|
|
7c06a3 |
--A, --nfs-all display quota for all NFS mountpoints\n\
|
|
|
7c06a3 |
+-A, --all-nfs display quota for all NFS mountpoints\n\
|
|
|
7c06a3 |
-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n\
|
|
|
7c06a3 |
--show-mntpoint show mount point of the file system in output\n\
|
|
|
7c06a3 |
--hide-device do not show file system device in output\n\
|
|
|
7c06a3 |
diff --git a/repquota.8 b/repquota.8
|
|
|
7c06a3 |
index a71cf6b..bb6d7ab 100644
|
|
|
7c06a3 |
--- a/repquota.8
|
|
|
7c06a3 |
+++ b/repquota.8
|
|
|
7c06a3 |
@@ -84,11 +84,11 @@ to be read-write with quotas.
|
|
|
7c06a3 |
Report all quotas, even if there is no usage. Be also more verbose about quotafile
|
|
|
7c06a3 |
information.
|
|
|
7c06a3 |
.TP
|
|
|
7c06a3 |
-.B -c, --batch-translation
|
|
|
7c06a3 |
+.B -c, --cache
|
|
|
7c06a3 |
Cache entries to report and translate uids/gids to names in big chunks by scanning
|
|
|
7c06a3 |
all users (default). This is good (fast) behaviour when using /etc/passwd file.
|
|
|
7c06a3 |
.TP
|
|
|
7c06a3 |
-.B -C, --no-batch-translation
|
|
|
7c06a3 |
+.B -C, --no-cache
|
|
|
7c06a3 |
Translate individual entries. This is faster when you have users stored in database.
|
|
|
7c06a3 |
.TP
|
|
|
7c06a3 |
.B -t, --truncate-names
|
|
|
7c06a3 |
diff --git a/repquota.c b/repquota.c
|
|
|
7c06a3 |
index 43de31d..50683b9 100644
|
|
|
7c06a3 |
--- a/repquota.c
|
|
|
7c06a3 |
+++ b/repquota.c
|
|
|
7c06a3 |
@@ -56,9 +56,10 @@ static void usage(void)
|
|
|
7c06a3 |
-p, --raw-grace print grace time in seconds since epoch\n\
|
|
|
7c06a3 |
-n, --no-names do not translate uid/gid to name\n\
|
|
|
7c06a3 |
-i, --no-autofs avoid autofs mountpoints\n\
|
|
|
7c06a3 |
--c, --batch-translation translate big number of ids at once\n\
|
|
|
7c06a3 |
--C, --no-batch-translation translate ids one by one\n\
|
|
|
7c06a3 |
+-c, --cache translate big number of ids at once\n\
|
|
|
7c06a3 |
+-C, --no-cache translate ids one by one\n\
|
|
|
7c06a3 |
-F, --format=formatname report information for specific format\n\
|
|
|
7c06a3 |
+-a, --all report information for all mount points with quotas\n\
|
|
|
7c06a3 |
-h, --help display this help message and exit\n\
|
|
|
7c06a3 |
-V, --version display version information and exit\n\n"), progname);
|
|
|
7c06a3 |
fprintf(stderr, _("Bugs to %s\n"), MY_EMAIL);
|
|
|
7c06a3 |
--
|
|
|
7c06a3 |
1.8.1.4
|
|
|
7c06a3 |
|