summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorChen Yang <chenyang.fnst@cn.fujitsu.com>2013-01-18 14:52:12 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:03 +0100
commitefbb344a59cc136f895d795058032e3f9c88a751 (patch)
tree56aba92c2fb66b741b3102be44e18c6f3abe8ac8 /commands.h
parent1be4621bc932baaad589d20ec021582fff43c250 (diff)
Btrfs-progs: Complete the help information of btrfs send/receive
When typing command "btrfs send --help" or "btrfs receive --help", the help information of the commands is incomplete, which only shows a short usage. This patch helps to display the complete infomation of the commands. Signed-off-by: Cheng Yang <chenyang.fnst@cn.fujitsu.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 61d74d77..64988e78 100644
--- a/commands.h
+++ b/commands.h
@@ -91,6 +91,9 @@ extern const struct cmd_group quota_cmd_group;
extern const struct cmd_group qgroup_cmd_group;
extern const struct cmd_group replace_cmd_group;
+extern const char * const cmd_send_usage[];
+extern const char * const cmd_receive_usage[];
+
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
int cmd_balance(int argc, char **argv);