From c56c1c6d5933856aa3c26e37aea023554acd53ce Mon Sep 17 00:00:00 2001 From: xyz Date: Wed, 20 Oct 2021 15:51:59 -0700 Subject: refactor --- home/xyz/.local/bin/gita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home/xyz/.local/bin/gita') diff --git a/home/xyz/.local/bin/gita b/home/xyz/.local/bin/gita index a3d0dbc..13360d0 100755 --- a/home/xyz/.local/bin/gita +++ b/home/xyz/.local/bin/gita @@ -3,9 +3,9 @@ cmd='git' -while getopts clLsS f; do +while getopts cls f; do case $f in - c|l|L|s|S) cmd="cfg -$f";; + c|l|s) cmd="cfg -$f";; \?) exit 1;; esac done -- cgit v1.2.3-70-g09d2