From 13a59c4a8fc4ee418424e0b7ee4c8bbd5aae5da2 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 26 Feb 2017 15:42:57 +0200 Subject: [PATCH] test: only accept short and long options, not silly in-betweens 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 b03f6a53..1bcf0df9 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.26.2