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 --- cmds-receive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds-receive.c') diff --git a/cmds-receive.c b/cmds-receive.c index 2fae2994..973687f3 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -881,7 +881,7 @@ static const char * const receive_cmd_group_usage[] = { NULL }; -static const char * const cmd_receive_usage[] = { +const char * const cmd_receive_usage[] = { "btrfs receive [-v] [-f ] ", "Receive subvolumes from stdin.", "Receives one or more subvolumes that were previously ", @@ -893,7 +893,7 @@ static const char * const cmd_receive_usage[] = { "After receiving a subvolume, it is immediately set to", "read only.\n", "-v Enable verbose debug output. Each", - " occurrency of this option increases the", + " occurrence of this option increases the", " verbose level more.", "-f By default, btrfs receive uses stdin", " to receive the subvolumes. Use this", -- cgit v1.2.3