]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxcmd/help.c
xfs_quota: certain commands must always be available
[thirdparty/xfsprogs-dev.git] / libxcmd / help.c
index fad0ab98f8b71e765d8f61d0fae7438437b16a31..8894c7931f89f481c9f1dfe3beec00daadbb15cb 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "platform_defs.h"
 #include "command.h"
+#include "../quota/init.h"
 
 static cmdinfo_t help_cmd;
 static void help_onecmd(const char *cmd, const cmdinfo_t *ct);
@@ -88,7 +89,7 @@ help_init(void)
        help_cmd.cfunc = help_f;
        help_cmd.argmin = 0;
        help_cmd.argmax = 1;
-       help_cmd.flags = CMD_FLAG_GLOBAL;
+       help_cmd.flags = CMD_FLAG_GLOBAL | CMD_ALL_FSTYPES;
        help_cmd.args = _("[command]");
        help_cmd.oneline = _("help for one or all commands");