From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 954886DE20BB for ; Sun, 26 Feb 2017 05:43:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" X-Spam-Flag: NO X-Spam-Score: -0.178 X-Spam-Level: X-Spam-Status: No, score=-0.178 tagged_above=-999 required=5 tests=[AWL=-0.158, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKNgxPUEbUjN for ; Sun, 26 Feb 2017 05:43:28 -0800 (PST) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) by arlo.cworth.org (Postfix) with ESMTPS id 2A3686DE20C6 for ; Sun, 26 Feb 2017 05:43:26 -0800 (PST) Received: by mail-lf0-f66.google.com with SMTP id i17so708417lfe.3 for ; Sun, 26 Feb 2017 05:43:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=sctlhtfUs0V6fdw2Ib62vsw6HfmpILaTI5K+TfQ6XL4=; b=BkVwcUk7XzcMqEvPrvOD7MzrG8ut/GXr53GMbIrmaUko+wQj5dxN78WSsp1q2/ck6D /g6acvf6wvVdRBD7cv+6op2qaDDH+XRqu3oumbalSHQUFlXIJzNi5e4Yq6aQxHvxwUB9 RYMydhew1yvDkdnXhpVm0Fo0JpSmq8EJC+HwE78NcsOv6GbdMrCoHLEI8NDRa+QTDN5Q rVAEe11jM6raS6WhsEFoLpeEObNp0zMivahtFl+a5cvKRdootsm8nSgYoDCucSHFNjwf EQO09eOl1BsLdPhHg7JADxqWusxcaFz1OTd7bU7LviXKkF8qiL/RjJvSrwheqeiK4uw9 3y8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=sctlhtfUs0V6fdw2Ib62vsw6HfmpILaTI5K+TfQ6XL4=; b=QzBebrRVGmDJTIk48UMVntUzLERzz+FVwFLgtBSB8QIGdUB+MeR1xiIo2d+AinkeaE mz8M+HYuAkX6VeExMuZkVAiGnpP5Dg5GCMRgSw0v8MlN37uPDu3ELIkwIggh+w9xJDDU qikB15JpN7H5DqbAhHDyw0T1exwnjfgHlMrWcDMfocYCyMhoF9ii3UmXrEIiFpcX1Z81 hlj/mBZiEySgdmqk8/dsZqdEG0NXJeQAJCGP/zRMZWeF51zClJpHj0p8vsV/is/F+bEa JPE+48Bg1xqD/Xtomp02i/ncU2s3q+iu7aOzwOHQJtw/Yz6Uw8OQNkahzYSJBoa5DXgF DsqQ== X-Gm-Message-State: AMke39kOtvI5uF5dEdwpemIcUV1OQTKFlxXo9eaTtt3PBSUfcIAiybI5kZY9ioQJU2wxZQ== X-Received: by 10.46.80.71 with SMTP id v7mr3093473ljd.38.1488116604499; Sun, 26 Feb 2017 05:43:24 -0800 (PST) Received: from localhost (mobile-access-bcee80-14.dhcp.inet.fi. [188.238.128.14]) by smtp.gmail.com with ESMTPSA id u30sm3224975ljd.4.2017.02.26.05.43.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2017 05:43:24 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 5/9] test: only accept short and long options, not silly in-betweens Date: Sun, 26 Feb 2017 15:42:57 +0200 Message-Id: <4f8e83bf5bb25ccd89824a945831f60b4e86bb27.1488116461.git.jani@nikula.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2017 13:43:29 -0000 It's not notmuch style to accept sloppy parameter names. --- test/test-lib.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index 44c510517f97..0a486f4cde9a 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -113,15 +113,15 @@ unset ALTERNATE_EDITOR while test "$#" -ne 0 do case "$1" in - -d|--d|--de|--deb|--debu|--debug) + -d|--debug) debug=t; shift ;; - -i|--i|--im|--imm|--imme|--immed|--immedi|--immedia|--immediat|--immediate) + -i|--immediate) immediate=t; shift ;; - -h|--h|--he|--hel|--help) + -h|--help) help=t; shift ;; - -v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose) + -v|--verbose) verbose=t; shift ;; - -q|--q|--qu|--qui|--quie|--quiet) + -q|--quiet) quiet=t; shift ;; --with-dashes) with_dashes=t; shift ;; @@ -130,7 +130,7 @@ do --no-python) # noop now... shift ;; - --va|--val|--valg|--valgr|--valgri|--valgrin|--valgrind) + --valgrind) valgrind=t; verbose=t; shift ;; --tee) shift ;; # was handled already -- 2.11.0