From 36f634feb95b4131a3147f54e05dbe805752863a Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Sun, 4 Sep 2016 23:52:14 -0700 Subject: [PATCH] small refactor for simplification --- cedit | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cedit b/cedit index 7fbf743..0a6b4c9 100755 --- a/cedit +++ b/cedit @@ -29,13 +29,10 @@ section. cedit is short for config edit. local verbose=false case $1 in + -v) verbose=true; shift ;; -h|--help) echo "$help"; return ;; esac - if [[ $1 == -v ]]; then - verbose=true - shift - fi if (( $# == 2 )); then name=": $1" shift -- 2.30.2