From 8d89bd5cbfb43d315010aa30e9593d9763c7fee2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 3 Jan 2017 23:34:44 +0100 Subject: Use the full variable name $option instead of the abbreviation $opt. --- painless-le.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/painless-le.sh b/painless-le.sh index d88f74f..8cbbc32 100755 --- a/painless-le.sh +++ b/painless-le.sh @@ -20,9 +20,9 @@ #=============================================================================== # Parsing command-line arguments with the getopts shell builtin #=============================================================================== -while getopts :i:h:K:I:C:F: opt +while getopts :i:h:K:I:C:F: option do - case $opt in + case $option in i) ARGUMENT_DIRECTORY="$OPTARG" ;; h) ARGUMENT_HOSTNAMES="$OPTARG" ;; K) ARGUMENT_CONFIDENTIAL="$OPTARG" ;; -- cgit v1.2.3