diff options
author | Thomas Lange <code@nerdmind.de> | 2017-01-03 23:34:44 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-01-03 23:37:52 +0100 |
commit | 8d89bd5cbfb43d315010aa30e9593d9763c7fee2 (patch) | |
tree | df073251e7c1aea2c5dfc933d88f1e45bf7f7396 | |
parent | 03e82dac080d13d348a8479f8d73b145bb26e3d0 (diff) | |
download | painlessle-8d89bd5cbfb43d315010aa30e9593d9763c7fee2.tar.gz painlessle-8d89bd5cbfb43d315010aa30e9593d9763c7fee2.tar.xz painlessle-8d89bd5cbfb43d315010aa30e9593d9763c7fee2.zip |
Use the full variable name $option instead of the abbreviation $opt.
-rwxr-xr-x | painless-le.sh | 4 |
1 files 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" ;; |