Skip to content

Commit

Permalink
Merge pull request #689 from CosmWasm/fix/publish.sh
Browse files Browse the repository at this point in the history
Fix publish.sh help / args
  • Loading branch information
maurolacy authored Mar 25, 2022
2 parents ce603a4 + 51404fe commit 067a3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function print_usage() {
echo "Publishes crates to crates.io."
}

if [ "$1" = "-h" ] || [ "$1" = "--help" ]
if [ $# = 1 ] && ( [ "$1" = "-h" ] || [ "$1" = "--help" ] )
then
print_usage
exit 1
Expand Down

0 comments on commit 067a3db

Please sign in to comment.