From 5ad67c9e088d51391ad881fcbab722edd7758c6e Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 11 Feb 2021 16:22:55 -0800 Subject: [PATCH] removed unused getopts --- bin/vmail-aliases-del.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/bin/vmail-aliases-del.sh b/bin/vmail-aliases-del.sh index 244fbc5..08b9311 100755 --- a/bin/vmail-aliases-del.sh +++ b/bin/vmail-aliases-del.sh @@ -22,19 +22,11 @@ help() } # set any options that were passed -while getopts "achs" opt; do +while getopts "h" opt; do case "${opt}" in - a ) - aliassearch=true - ;; - c ) - cvs="| sed 's/\t/,/g'" - ;; h ) help exit;; - s ) - dbcmdopts="-s -N $dbcmdopts" ;; \? ) echo "Invalid option: $OPTARG" 1>&2