From bebb776956c2ff03403347f722e245afb0862f9f Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 4 Oct 2015 13:01:17 +0200 Subject: [PATCH] Consistency fix --- doc/scripts/appbroker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/scripts/appbroker.sh b/doc/scripts/appbroker.sh index e67b3d7..3f1b3c9 100755 --- a/doc/scripts/appbroker.sh +++ b/doc/scripts/appbroker.sh @@ -53,7 +53,7 @@ _debug() #usage _usage() { - echo "Usage: $PROGNAME [-c][-P prefix] target..." 1>&2 + echo "Usage: $PROGNAME [-c] target..." 1>&2 return 1 } @@ -69,7 +69,7 @@ while getopts "cO:P:" name; do export "${OPTARG%%=*}"="${OPTARG#*=}" ;; P) - #we can ignore it + #XXX ignored for compatibility ;; ?) _usage @@ -77,7 +77,7 @@ while getopts "cO:P:" name; do ;; esac done -shift $(($OPTIND - 1)) +shift $((OPTIND - 1)) if [ $# -eq 0 ]; then _usage exit $?