Skip to content

Commit

Permalink
Fix naming of help flag
Browse files Browse the repository at this point in the history
The flag naming style as in golang is used.
  • Loading branch information
xorcare committed Sep 21, 2024
1 parent ca8b7a5 commit c306e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go-mod-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PREFIX=''

function help() {
cat <<EOF
usage: go-mod-bump PARAM [-p|-message-prefix OPTION] [-h|--help] [modules]
usage: go-mod-bump PARAM [-p|-message-prefix OPTION] [-h|-help] [modules]
Script to elegantly update direct Go modules in separate commits.
Expand All @@ -40,7 +40,7 @@ OPTIONS
-p <prefix>, -message-prefix=<prefix>
Add custom prefix to git commit message.
-h|--help
-h|-help
Show this message.
EOF
}
Expand Down

0 comments on commit c306e10

Please sign in to comment.