Skip to content

Commit b818732

Browse files
committed
fixup! Add -h, --help to release.sh
1 parent aa65261 commit b818732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
66
cdroot
77

8-
help() {
8+
usage() {
99
cat <<EOH
1010
Usage: ./release.sh [--branch <name>] [--draft] [--dry-run] [--ref <ref>] [--major | --minor | --patch]
1111
@@ -63,7 +63,7 @@ while true; do
6363
shift
6464
;;
6565
-h | --help)
66-
help
66+
usage
6767
exit 0
6868
;;
6969
--ref)

0 commit comments

Comments
 (0)