From patchwork Sun Jul 28 06:47:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Borowski X-Patchwork-Id: 11062899 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5FA7713AC for ; Sun, 28 Jul 2019 06:48:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45A1D2871A for ; Sun, 28 Jul 2019 06:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36CE2289B5; Sun, 28 Jul 2019 06:48:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04B552871A for ; Sun, 28 Jul 2019 06:48:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725938AbfG1Gs3 (ORCPT ); Sun, 28 Jul 2019 02:48:29 -0400 Received: from tartarus.angband.pl ([54.37.238.230]:43776 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbfG1Gs3 (ORCPT ); Sun, 28 Jul 2019 02:48:29 -0400 Received: from [2a02:a31c:853f:a300::4] (helo=valinor.angband.pl) by tartarus.angband.pl with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hrcym-0002yC-2P; Sun, 28 Jul 2019 08:48:25 +0200 Received: from kilobyte by valinor.angband.pl with local (Exim 4.92) (envelope-from ) id 1hrcyl-0004AX-Pl; Sun, 28 Jul 2019 08:48:23 +0200 From: Adam Borowski To: David Sterba , linux-btrfs@vger.kernel.org Cc: Adam Borowski Date: Sun, 28 Jul 2019 08:47:36 +0200 Message-Id: <20190728064735.15979-1-kilobyte@angband.pl> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190618130746.GM19057@twin.jikos.cz> References: <20190618130746.GM19057@twin.jikos.cz> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a02:a31c:853f:a300::4 X-SA-Exim-Mail-From: kilobyte@angband.pl Subject: [PATCH] btrfs-progs: check: fix option parsing for -E X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP > On Mon, Jun 17, 2019 at 06:45:48PM +0200, Adam Borowski wrote: > > It has a mandatory argument, thus it always crashed. > > Applied, thanks. Seems like this has fallen through the cracks -- could you please re-apply? --8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x--8x-- It has a mandatory argument, thus it always crashed. Signed-off-by: Adam Borowski --- check/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check/main.c b/check/main.c index 0cc6fdba..866da8dc 100644 --- a/check/main.c +++ b/check/main.c @@ -9867,7 +9867,7 @@ static int cmd_check(const struct cmd_struct *cmd, int argc, char **argv) { NULL, 0, NULL, 0} }; - c = getopt_long(argc, argv, "as:br:pEQ", long_options, NULL); + c = getopt_long(argc, argv, "as:br:pE:Q", long_options, NULL); if (c < 0) break; switch(c) {