diff --git a/rector-single-commit.sh b/rector-single-commit.sh index c46b7ac..2949d4b 100755 --- a/rector-single-commit.sh +++ b/rector-single-commit.sh @@ -6,7 +6,7 @@ # - rector (in vendor/bin or RECTOR_PATH) set -e -if [ "$1" = "-h" -o "$1" = "--help" ]; then +if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then echo "rector-single-commit.sh [commit message prefix]" echo "Options:" echo " -h, --help: Show help"