Update to install.sh

When you would run `install.sh -h` or with `--help` flag, it would print those two `echo` lines, but it'd continue on its merry way, installing everything still! A `help` flag is not supposed to do that! So I added an `exit 0` to the help flag.
This commit is contained in:
Justin P 2020-01-30 23:28:08 -06:00 committed by GitHub
parent ec4e86c44b
commit ae1e602188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ case "$1" in
-h|--help) -h|--help)
echo "Install script for nanorc syntax highlights" echo "Install script for nanorc syntax highlights"
echo "Call with -l or --lite to update .nanorc with secondary precedence to existing .nanorc includes" echo "Call with -l or --lite to update .nanorc with secondary precedence to existing .nanorc includes"
exit 0
;; ;;
esac esac