diff mbox

btrfs-progs: add missing descriptions of '--max-errors' in btrfs-receive documentation

Message ID 53E82F2F.3020800@jp.fujitsu.com (mailing list archive)
State Accepted
Headers show

Commit Message

Satoru Takeuchi Aug. 11, 2014, 2:49 a.m. UTC
From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

Fix the lack of description of "--max-erros" option in
both man and command usage of btrfs receive.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>

---
 Documentation/btrfs-receive.txt | 2 +-
 cmds-receive.c                  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/Documentation/btrfs-receive.txt b/Documentation/btrfs-receive.txt
index 78dc511..beb963c 100644
--- a/Documentation/btrfs-receive.txt
+++ b/Documentation/btrfs-receive.txt
@@ -7,7 +7,7 @@  btrfs-receive - receive subvolumes from stdin/file.
 
 SYNOPSIS
 --------
-*btrfs receive* [-ve] [-f <infile>] <mount>
+*btrfs receive* [-ve] [-f <infile>] [--max-errors <N>] <mount>
 
 DESCRIPTION
 -----------
diff --git a/cmds-receive.c b/cmds-receive.c
index 9a6d6d9..ed33258 100644
--- a/cmds-receive.c
+++ b/cmds-receive.c
@@ -1120,9 +1120,9 @@  int cmd_receive(int argc, char **argv)
 }
 
 const char * const cmd_receive_usage[] = {
-	"btrfs receive [-ve] [-f <infile>] <mount>",
+	"btrfs receive [-ve] [-f <infile>] [--max-errors <N>] <mount>",
 	"Receive subvolumes from stdin.",
-	"Receives one or more subvolumes that were previously ",
+	"Receives one or more subvolumes that were previously",
 	"sent with btrfs send. The received subvolumes are stored",
 	"into <mount>.",
 	"btrfs receive will fail in case a receiving subvolume",