diff --git a/repurpose_package.sh b/repurpose_package.sh index 7ea06d8..6f26508 100755 --- a/repurpose_package.sh +++ b/repurpose_package.sh @@ -1,13 +1,10 @@ #!/usr/bin/env bash -if [ $# -le 1 ]; then - echo "usage: ./repurpose_package.sh [--dry-run, --camel-case]" - if [ $1 == "--help" ]; then - echo " - Removes the .git directory, initializes a new one, - replaces all occurences of the original package name with the new one in all files withing all subfolders, - replaces all occurences of the original package name with the new one wthinin all filenames." - fi +if [ $# -le 1 ] || [ $1 == "--help" ]; then + echo "usage: ./repurpose_package.sh [--dry-run, --camel-case] + Removes the .git directory, initializes a new one, + replaces all occurences of the original package name with the new one in all files withing all subfolders, + replaces all occurences of the original package name with the new one wthinin all filenames." exit 1 fi