Skip to content

Commit

Permalink
add explicit -h (help) flag
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 6, 2023
1 parent 4f9b877 commit c1fd6b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion smoketest.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ OPEN_TABS=${OPEN_TABS:-false}

display_usage() {
echo "Usage:"
echo -e "\t-h\t\t\t\tprint this Help text."
echo -e "\t-O\t\t\t\tOffline mode, do not attempt to pull container images."
echo -e "\t-s [minio|localstack]\t\tS3 implementation to spin up (default \"minio\")."
echo -e "\t-g\t\t\t\tinclude Grafana dashboard and jfr-datasource in deployment."
Expand All @@ -27,8 +28,12 @@ display_usage() {

s3=minio
ce=podman
while getopts "s:gtOVXcb" opt; do
while getopts "hs:gtOVXcb" opt; do
case $opt in
h)
display_usage
exit 0
;;
s)
s3="${OPTARG}"
;;
Expand Down

0 comments on commit c1fd6b7

Please sign in to comment.