diff options
author | Jesus <heckyel@riseup.net> | 2023-09-25 03:15:39 +0800 |
---|---|---|
committer | Jesus <heckyel@riseup.net> | 2023-09-25 03:15:39 +0800 |
commit | 30569394cff487702079818fbaed4144b50e5251 (patch) | |
tree | e57ffd44673d46994ea443ed41791eb19637146e /make-bootstrap-file.sh | |
parent | 04fc009cbdb00f8272fc0ccda878ee19b90e3436 (diff) | |
download | hyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.tar.lz hyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.tar.xz hyperbola-bootstrap-30569394cff487702079818fbaed4144b50e5251.zip |
Diffstat (limited to 'make-bootstrap-file.sh')
-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 ;; |