summaryrefslogtreecommitdiff
path: root/btrfs.c
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 /btrfs.c
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 'btrfs.c')
-rw-r--r--btrfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfs.c b/btrfs.c
index 4a68c534..7b0e50fb 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -247,8 +247,8 @@ const struct cmd_group btrfs_cmd_group = {
{ "device", cmd_device, NULL, &device_cmd_group, 0 },
{ "scrub", cmd_scrub, NULL, &scrub_cmd_group, 0 },
{ "inspect-internal", cmd_inspect, NULL, &inspect_cmd_group, 0 },
- { "send", cmd_send, NULL, &send_cmd_group, 0 },
- { "receive", cmd_receive, NULL, &receive_cmd_group, 0 },
+ { "send", cmd_send, cmd_send_usage, NULL, 0 },
+ { "receive", cmd_receive, cmd_receive_usage, NULL, 0 },
{ "quota", cmd_quota, NULL, &quota_cmd_group, 0 },
{ "qgroup", cmd_qgroup, NULL, &qgroup_cmd_group, 0 },
{ "replace", cmd_replace, NULL, &replace_cmd_group, 0 },