From ea6f63a882693671ec493da2250c55b3ad3e6ffc Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 2 May 2016 09:44:05 +0000 Subject: [PATCH] Minor fixes in command line parser and options. --- sit | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sit b/sit index e6c203e..c0b9a6c 100755 --- a/sit +++ b/sit @@ -17,7 +17,7 @@ SIT_USER_CONFIG_FILE=$HOME/.sit function usage() { echo "Usage: $0 [action] " echo "Valid actions:" - echo " sit_sitinfo" + echo " sitinfo" echo " unpack" echo " prepare" echo " configure" @@ -36,12 +36,9 @@ sit_classfile="" # sit action to be performed sit_action="all" -while [ $1 != "" ] ; do +while [ "$1" != "" ] ; do case $1 in - "sitinfo") - sit_sitinfo - exit 0 - ;; + "sitinfo"| \ "all"| \ "unpack"| \ "prepare"| \