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.
pull/282/head
Justin P 4 years ago committed by GitHub
parent ec4e86c44b
commit ae1e602188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save