path: root/cmds-receive.c
diff options
authorChen Yang <>2013-01-18 14:52:12 +0800
committerDavid Sterba <>2013-02-01 16:55:03 +0100
commitefbb344a59cc136f895d795058032e3f9c88a751 (patch)
tree56aba92c2fb66b741b3102be44e18c6f3abe8ac8 /cmds-receive.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 <>
Diffstat (limited to 'cmds-receive.c')
1 files changed, 2 insertions, 2 deletions
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[] = {
-static const char * const cmd_receive_usage[] = {
+const char * const cmd_receive_usage[] = {
"btrfs receive [-v] [-f <infile>] <mount>",
"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 <infile> By default, btrfs receive uses stdin",
" to receive the subvolumes. Use this",