Set version to make-bootstrap-file.sh
This commit is contained in:
parent
04fc009cbd
commit
30569394cf
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user