mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue