From: Fred Drake Date: Tue, 29 Jun 2004 14:39:06 +0000 (+0000) Subject: fix handling when a proper getopt(1) is available; the "--" X-Git-Tag: v2.4a1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96b935e6435ea9928f3a11732d07ecfbb9a671d1;p=python 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 c124f8b5da..dfccb5b733 100755 --- a/Doc/tools/push-docs.sh +++ b/Doc/tools/push-docs.sh @@ -61,6 +61,10 @@ while [ "$#" -gt 0 ] ; do EXPLANATION="`cat $2`" shift 2 ;; + --) + shift 1 + break + ;; -*) echo "Unknown option: $1" >&2 exit 2