diff --git a/CloneStuff.sh b/CloneStuff.sh index 76dd0e4..923d674 100644 --- a/CloneStuff.sh +++ b/CloneStuff.sh @@ -2,39 +2,7 @@ # Set default value for __retries __retries=5 -__command="" - -while : -do - if [ $# -le 0 ]; then - break - fi - - lowerI="$(echo $1 | awk '{print tolower($0)}')" - case $lowerI in - command|-command) - if [ -n "$2" ]; then - __command="$2" - shift - else - echo "ERROR: 'command' requires a non-empty option argument" - exit 1 - fi - ;; - retries|-retries) - if [ -n "$2" ]; then - __retries="$2" - shift - else - echo "ERROR: 'retries' requires a non-empty option argument" - exit 1 - fi - ;; - *) - esac - - shift -done +__command="ls" if [[ -z "$__command" ]]; then echo "ERROR: Please supply a value for '-command'"