added a ":" to the getopt "c" option so it would take a param
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 5 Mar 2008 14:30:12 +0000 (14:30 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 5 Mar 2008 14:30:12 +0000 (14:30 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1252 9efc2488-bf62-4759-914b-345cdb29e865

bin/osrf_ctl.sh

index 3fd6bfb..cc04f9d 100755 (executable)
@@ -66,7 +66,7 @@ basepath $0
 # ---------------------------------------------------------------------------
 # Load the command line options and set the global vars
 # ---------------------------------------------------------------------------
 # ---------------------------------------------------------------------------
 # Load the command line options and set the global vars
 # ---------------------------------------------------------------------------
-while getopts  "a:d:clh" flag; do
+while getopts  "a:d:c:lh" flag; do
        case $flag in   
                "a")            OPT_ACTION="$OPTARG";;
                "c")            OPT_CONFIG="$OPTARG";;
        case $flag in   
                "a")            OPT_ACTION="$OPTARG";;
                "c")            OPT_CONFIG="$OPTARG";;