From 8dfbdc41f9e63875835f8a37e31ec646b280f20b Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Thu, 16 May 2019 18:29:07 +0200 Subject: [PATCH] Improved getopts usage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As suggested by Walter Hüttenmeyer. --- mkstage4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkstage4.sh b/mkstage4.sh index 529957f..d695c76 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -34,7 +34,7 @@ USAGE="usage:\n\ -h: displays help message." # reads options: -while getopts ':te:skqcblph' flag; do +while getopts ':t:e:skqcblph' flag; do case "${flag}" in t) TARGET="$OPTARG"