From a0574bcf37c3816ff7c3599ecbd9d27996b7c24b Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Wed, 16 Mar 2022 15:36:32 +0100 Subject: [PATCH] run_sdk_container: recognize --help flag When the user passes --help we should not start a container and throw a late error message afterwards but show the help directly. --- run_sdk_container | 1 + 1 file changed, 1 insertion(+) diff --git a/run_sdk_container b/run_sdk_container index d698f5d1f3..aa934ab68c 100755 --- a/run_sdk_container +++ b/run_sdk_container @@ -51,6 +51,7 @@ usage() { while [ 0 -lt $# ] ; do case "$1" in -h) usage; exit 0;; + --help) usage; exit 0;; -t) tty="-t"; shift;; -v) os_version="$2"; shift; shift;; -V) sdk_version="$2"; shift; shift;;