diff options
-rw-r--r-- | make-bootstrap-file.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/make-bootstrap-file.sh b/make-bootstrap-file.sh index efc62b6..e21ea87 100644 --- a/make-bootstrap-file.sh +++ b/make-bootstrap-file.sh @@ -4,6 +4,9 @@ set -e -u -o pipefail +# Set script version +SCRIPT_VERSION="v1.0.0" + # Display usage message usage() { cat <<EOF @@ -59,6 +62,10 @@ while [[ $# -gt 0 ]]; do TAR_OWNER_GROUP_ID="${2}" shift 2 ;; + -v|--version) + echo "version: $SCRIPT_VERSION" + exit 0 + ;; -h|--help) usage && exit 0 ;; |