Skip to content

Commit c7b2c15

Browse files
MajorLiftElliot Winkler
andcommitted
Print help message if no package name is passed
Co-authored-by: Elliot Winkler <[email protected]>
1 parent 94267a5 commit c7b2c15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/migrate-tags.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ get-commit-tagname-pairs() {
146146
main() {
147147
if [[ -z $package_name ]]; then
148148
echo "Missing package name."
149+
print-usage
149150
exit 1
150151
fi
151152
while IFS=$'\t' read -r tag_name commit message error; do

0 commit comments

Comments
 (0)