path: root/commands.h
diff options
authorDavid Sterba <>2017-01-25 16:35:00 +0100
committerDavid Sterba <>2017-03-08 13:00:45 +0100
commit1c880f34f13e51aae9704449603f74680e442cf6 (patch)
tree3fcb9fd60f2084ec5157c06b8abdd3e67028e500 /commands.h
parente235f12de2d2b49145569a07516a52f0f793622d (diff)
btrfs-progs: move help defines to own header
Signed-off-by: David Sterba <>
Diffstat (limited to 'commands.h')
1 files changed, 0 insertions, 11 deletions
diff --git a/commands.h b/commands.h
index 94229c11..e719c491 100644
--- a/commands.h
+++ b/commands.h
@@ -71,19 +71,8 @@ int prefixcmp(const char *str, const char *prefix);
int handle_command_group(const struct cmd_group *grp, int argc,
char **argv);
-/* help.c */
extern const char * const generic_cmd_help_usage[];
-void usage(const char * const *usagestr) __attribute__((noreturn));
-void usage_command(const struct cmd_struct *cmd, int full, int err);
-void usage_command_group(const struct cmd_group *grp, int all, int err);
-void usage_command_group_short(const struct cmd_group *grp);
-void help_unknown_token(const char *arg, const struct cmd_group *grp) __attribute__((noreturn));
-void help_ambiguous_token(const char *arg, const struct cmd_group *grp) __attribute__((noreturn));
-void help_command_group(const struct cmd_group *grp, int argc, char **argv);
extern const struct cmd_group subvolume_cmd_group;
extern const struct cmd_group filesystem_cmd_group;
extern const struct cmd_group balance_cmd_group;