aboutsummaryrefslogtreecommitdiffstats
path: root/package/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'package/sbin')
-rwxr-xr-xpackage/sbin/painless-le7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/sbin/painless-le b/package/sbin/painless-le
index 0d89fc5..4577e19 100755
--- a/package/sbin/painless-le
+++ b/package/sbin/painless-le
@@ -18,7 +18,12 @@
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
#===============================================================================
-# Parsing command-line arguments with the getopts shell builtin
+# Normalize command-line arguments with GNU getopt
+#===============================================================================
+set -- $(getopt -uo i:h:K:I:C:F: -- "$@")
+
+#===============================================================================
+# Parse command-line arguments with the getopts shell built-in
#===============================================================================
while getopts :i:h:K:I:C:F: option
do