From efbb344a59cc136f895d795058032e3f9c88a751 Mon Sep 17 00:00:00 2001 From: Chen Yang Date: Fri, 18 Jan 2013 14:52:12 +0800 Subject: 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 --- btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'btrfs.c') 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, "a_cmd_group, 0 }, { "qgroup", cmd_qgroup, NULL, &qgroup_cmd_group, 0 }, { "replace", cmd_replace, NULL, &replace_cmd_group, 0 }, -- cgit v1.2.3