Skip to content

Commit

Permalink
elasticluster.sh: Rename option --pull to --update.
Browse files Browse the repository at this point in the history
I think this makes the intent more clear to those who don't know the
Docker jargon.
  • Loading branch information
riccardomurri committed Aug 13, 2019
1 parent cb940df commit 9edfe4b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions elasticluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,15 @@ cat <<EOF
In addition, the following options can be used to control execution of
ElastiCluster in Docker:
--latest
Same as '--pull --release latest'
--pull
--update
Update Docker image to the latest version available
--release TAG
Use the Docker image with the given TAG (default tag: "latest")
--latest
Same as '--update --release latest'
EOF
}

Expand All @@ -223,13 +223,13 @@ while [ $# -gt 0 ]; do
pull='yes'
docker_image_tag='latest'
;;
--pull)
pull='yes'
;;
--release)
docker_image_tag="$2"
shift
;;
--update|--pull)
pull='yes'
;;
*)
argv="$argv $1"
;;
Expand Down

0 comments on commit 9edfe4b

Please sign in to comment.