From: Ian Kelling Date: Mon, 5 Sep 2016 06:52:14 +0000 (-0700) Subject: small refactor for simplification X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=36f634feb95b4131a3147f54e05dbe805752863a;p=cedit small refactor for simplification --- 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