From ae1e6021886a0b4215e1ca8617c6d746b5a957ae Mon Sep 17 00:00:00 2001 From: Justin P Date: Thu, 30 Jan 2020 23:28:08 -0600 Subject: [PATCH] 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. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index c26cc80..0785700 100755 --- a/install.sh +++ b/install.sh @@ -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