From patchwork Mon Aug 11 02:49:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Satoru Takeuchi X-Patchwork-Id: 4705361 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 54E4E9F319 for ; Mon, 11 Aug 2014 02:49:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 92442201B9 for ; Mon, 11 Aug 2014 02:49:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F92120173 for ; Mon, 11 Aug 2014 02:49:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752076AbaHKCtk (ORCPT ); Sun, 10 Aug 2014 22:49:40 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:55171 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751711AbaHKCtk (ORCPT ); Sun, 10 Aug 2014 22:49:40 -0400 Received: from kw-mxoi1.gw.nic.fujitsu.com (unknown [10.0.237.133]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id 9C7583EE0BB for ; Mon, 11 Aug 2014 11:49:38 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by kw-mxoi1.gw.nic.fujitsu.com (Postfix) with ESMTP id A6B4DAC0485 for ; Mon, 11 Aug 2014 11:49:37 +0900 (JST) Received: from g01jpfmpwkw03.exch.g01.fujitsu.local (g01jpfmpwkw03.exch.g01.fujitsu.local [10.0.193.57]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 5D0951DB803B for ; Mon, 11 Aug 2014 11:49:37 +0900 (JST) Received: from g01jpexchkw38.g01.fujitsu.local (unknown [10.0.193.4]) by g01jpfmpwkw03.exch.g01.fujitsu.local (Postfix) with ESMTP id AE079BD6464 for ; Mon, 11 Aug 2014 11:49:36 +0900 (JST) X-SecurityPolicyCheck: OK by SHieldMailChecker v2.0.1 X-SHieldMailCheckerPolicyVersion: FJ-ISEC-20120718-4 Message-ID: <53E82F2F.3020800@jp.fujitsu.com> Date: Mon, 11 Aug 2014 11:49:19 +0900 From: Satoru Takeuchi User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "linux-btrfs@vger.kernel.org" Subject: btrfs-progs: add missing descriptions of '--max-errors' in btrfs-receive documentation X-SecurityPolicyCheck-GC: OK by FENCE-Mail X-TM-AS-MML: No Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Satoru Takeuchi Fix the lack of description of "--max-erros" option in both man and command usage of btrfs receive. Signed-off-by: Satoru Takeuchi --- Documentation/btrfs-receive.txt | 2 +- cmds-receive.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ] +*btrfs receive* [-ve] [-f ] [--max-errors ] 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 ] ", + "btrfs receive [-ve] [-f ] [--max-errors ] ", "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 .", "btrfs receive will fail in case a receiving subvolume",