fix handling when a proper getopt(1) is available; the "--"
end-of-options marker wasn't recognized
diff --git a/Doc/tools/push-docs.sh b/Doc/tools/push-docs.sh
index c124f8b..dfccb5b 100755
--- a/Doc/tools/push-docs.sh
+++ b/Doc/tools/push-docs.sh
@@ -61,6 +61,10 @@
           EXPLANATION="`cat $2`"
           shift 2
           ;;
+      --)
+          shift 1
+          break
+          ;;
       -*)
           echo "Unknown option: $1" >&2
           exit 2