Skip to content

Commit

Permalink
Add version and snapshot param to maintain parity with default script (
Browse files Browse the repository at this point in the history
…#401)

Signed-off-by: Ankit Kala <ankikala@amazon.com>
  • Loading branch information
ankitkala authored May 19, 2022
1 parent f82c2ad commit 043d860
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/integtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function usage() {
echo -e "-s SECURITY_ENABLED\t(true | false), defaults to true. Specify the OpenSearch/Dashboards have security enabled or not."
echo -e "-c CREDENTIAL\t(usename:password), no defaults, effective when SECURITY_ENABLED=true."
echo -e "-h\tPrint this message."
echo -e "-v OPENSEARCH_VERSION\t, no defaults"
echo -e "-n SNAPSHOT\t, defaults to false"
echo "--------------------------------------------------------------------------"
}

Expand All @@ -42,6 +44,12 @@ while getopts ":h:b:p:s:c:v:n:t:" arg; do
c)
CREDENTIAL=$OPTARG
;;
v)
# Do nothing as we're not consuming this param.
;;
n)
# Do nothing as we're not consuming this param.
;;
:)
echo "-${OPTARG} requires an argument"
usage
Expand Down

0 comments on commit 043d860

Please sign in to comment.