aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-05-31 23:07:22 +0200
committerThomas Lange <code@nerdmind.de>2018-05-31 23:07:22 +0200
commitd1b99073173d5d668ed773fad68b28df36db3a4d (patch)
tree146c1b929cddd3f2178801311840326c312c23f7
parent866248c564df678a4ac6f141cb3037f39f51154b (diff)
downloadpainlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.tar.gz
painlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.tar.xz
painlessle-d1b99073173d5d668ed773fad68b28df36db3a4d.zip
Call "shift" after the getopts while loop
-rwxr-xr-xpainless-le.sh2
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