From 212e5e3685ce8efe4b8dc778947c7e373d5c4ac4 Mon Sep 17 00:00:00 2001 From: Tom Scavo Date: Tue, 2 May 2017 16:53:24 -0400 Subject: [PATCH] Remove unused vars --- bin/cget.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/cget.sh b/bin/cget.sh index a432d64..1e6b316 100755 --- a/bin/cget.sh +++ b/bin/cget.sh @@ -157,22 +157,18 @@ if [ -z "$LOG_LEVEL" ]; then LOG_LEVEL=3 fi -help_mode=false; verbose_mode=false; quiet_mode=false; local_opts= +help_mode=false; local_opts= while getopts ":hvqFC" opt; do case $opt in h) help_mode=true ;; v) - verbose_mode=true - quiet_mode=false LOG_LEVEL=4 local_opts="$local_opts -$opt" ;; q) - verbose_mode=false - quiet_mode=true - LOG_LEVEL=1 + LOG_LEVEL=2 ;; F) local_opts="$local_opts -$opt"