]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_quota: fix up timer command help
authorEric Sandeen <sandeen@sandeen.net>
Thu, 4 Feb 2016 21:43:02 +0000 (08:43 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 4 Feb 2016 21:43:02 +0000 (08:43 +1100)
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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
quota/edit.c

index c55fa1a67114e30221de31c1379cc22a2dace43b..6146f7ef41c3fa645eff01a3382af72d921f5a45 100644 (file)
@@ -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";