From 3ccd3954c761f8738eceeb478f5278b23cb8ff8a Mon Sep 17 00:00:00 2001 From: qubenix Date: Thu, 3 Jan 2019 12:52:16 +0000 Subject: [PATCH] add help menu to install.sh --- install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index b120f94..c2a74fc 100755 --- a/install.sh +++ b/install.sh @@ -356,11 +356,9 @@ parse_flags () --with-qt) with_qt='1' ;; - -?*) - echo "warning. unknown flag : $1" 1>&2 - ;; *) - break + echo -e "\nUsage: "${0}" [options]\n\nOptions:\n\n--develop code remains editable in place\n--python, -p python version: python2 or python3 (default: python2)\n--with-qt build the Qt GUI (incompatible with python2)\n" + exit 1 esac shift done