From 280b1e280a7640e273d88452aa49aef9a836f284 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 29 Apr 2021 14:49:51 -0400 Subject: [PATCH] appimage: Put cli parameters in alphabetical order --- appimage/build_appimage.sh | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh index b77c8fc96..d2f9a6448 100755 --- a/appimage/build_appimage.sh +++ b/appimage/build_appimage.sh @@ -262,14 +262,6 @@ branch="develop" while (( "$#" )); do case "$1" in - --version) - if [ -n "$2" ] && [ "${2:0:1}" != "-" ]; then - monkey_version=$2 - shift 2 - else - missing_argument "$1" - fi - ;; --agent-binary-dir) if [ -n "$2" ] && [ "${2:0:1}" != "-" ]; then agent_binary_dir=$2 @@ -285,6 +277,15 @@ case "$1" in else missing_argument "$1" fi + ;; + --version) + if [ -n "$2" ] && [ "${2:0:1}" != "-" ]; then + monkey_version=$2 + shift 2 + else + missing_argument "$1" + fi + ;; esac done