From 5dac0577b5ead5fcc49731b9de64b4e03afa3de7 Mon Sep 17 00:00:00 2001 From: Alexis Jhon Gaspar Date: Mon, 8 Jul 2024 15:52:41 +0800 Subject: [PATCH] Fixed tabb argument handling --- scripts/tabb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/tabb b/scripts/tabb index af309b5..02628d1 100755 --- a/scripts/tabb +++ b/scripts/tabb @@ -37,7 +37,6 @@ main() { done } -while getopts ":e:d" flag; do case $flag in -e ) automode=true @@ -48,10 +47,9 @@ while getopts ":e:d" flag; do main ;; esac -done if [ $OPTIND -eq 1 ]; then - automode=true + automode=false main fi shift $((OPTIND-1))