From: Eric Sandeen <sandeen@sandeen.net>
To: xfs@oss.sgi.com
Subject: [PATCH 2/2] xfs_quota: fix up timer command help
Date: Wed, 27 Jan 2016 16:51:30 -0600 [thread overview]
Message-ID: <56A949F2.8080802@sandeen.net> (raw)
In-Reply-To: <56A9497C.9070400@sandeen.net>
The timer command help output suggests that either default, or a
specific ID, can be specified, but this is not the case. Timers
are fs-wide for each quota type, not specific to the user. So
remove the "-d|id|name" from the help output. Also remove
"get" from the description, because it only sets these timers;
"state" returns their values. Well actually just one of them,
but that's a different problem...
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
diff --git a/quota/edit.c b/quota/edit.c
index c55fa1a..6146f7e 100644
--- a/quota/edit.c
+++ b/quota/edit.c
@@ -701,8 +701,8 @@ edit_init(void)
timer_cmd.cfunc = timer_f;
timer_cmd.argmin = 2;
timer_cmd.argmax = -1;
- timer_cmd.args = _("[-bir] [-gpu] value -d|id|name");
- timer_cmd.oneline = _("get/set quota enforcement timeouts");
+ timer_cmd.args = _("[-bir] [-gpu] value");
+ timer_cmd.oneline = _("set quota enforcement timeouts");
timer_cmd.help = timer_help;
warn_cmd.name = "warn";
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2016-01-27 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 22:49 [PATCH 0/2] xfsprogs: minor quota fixups Eric Sandeen
2016-01-27 22:50 ` [PATCH 1/2] xfs_quota: remove extra 30 seconds from time limit reporting Eric Sandeen
2016-01-27 22:51 ` Eric Sandeen [this message]
2016-01-28 13:02 ` [PATCH 0/2] xfsprogs: minor quota fixups Carlos Maiolino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A949F2.8080802@sandeen.net \
--to=sandeen@sandeen.net \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox