appimage: Put cli parameters in alphabetical order

This commit is contained in:
Mike Salvatore 2021-04-29 14:49:51 -04:00
parent 9c11f239ce
commit 280b1e280a
1 changed files with 9 additions and 8 deletions

View File

@ -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