X-Git-Url: https://iankelling.org/git/?p=cedit;a=blobdiff_plain;f=cedit;h=0a6b4c938a74e9d79fa212d9bc21e852b1f46c0a;hp=7fbf7439338b159685d527cbb32ea5c191bbab76;hb=36f634feb95b4131a3147f54e05dbe805752863a;hpb=6f89fb66315647b6421e44abe5a49789efc9dbdc 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