mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 09:05:39 +01:00
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:
parent
ec4e86c44b
commit
ae1e602188
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user