diff options
author | Thomas Lange <code@nerdmind.de> | 2018-05-31 23:07:22 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-05-31 23:07:22 +0200 |
commit | d1b99073173d5d668ed773fad68b28df36db3a4d (patch) | |
tree | 146c1b929cddd3f2178801311840326c312c23f7 | |
parent | 866248c564df678a4ac6f141cb3037f39f51154b (diff) | |
download | painlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.tar.gz painlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.tar.xz painlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.zip |
Call "shift" after the getopts while loop
-rwxr-xr-x | painless-le.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/painless-le.sh b/painless-le.sh index 48d65ed..316d1cf 100755 --- a/painless-le.sh +++ b/painless-le.sh @@ -30,7 +30,7 @@ do C) ARGUMENT_CERTIFICATE_ONLY="$OPTARG" ;; F) ARGUMENT_CERTIFICATE_FULL="$OPTARG" ;; esac -done +done; shift $((OPTIND-1)) #=============================================================================== # Checking if all required command-line arguments are provided |