summaryrefslogtreecommitdiff
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-29 14:39:06 +0000
committerFred Drake <fdrake@acm.org>2004-06-29 14:39:06 +0000
commit9d8210a58f06d5a5768023e9f3e5cbf90084face (patch)
treec2e4920d4904e41d2a7d7cab9e8ec6c0514203b3 /Doc/tools
parentf21509cbef5ce9dceb0e27e71fba04b770e10de8 (diff)
downloadcpython-9d8210a58f06d5a5768023e9f3e5cbf90084face.tar.gz
fix handling when a proper getopt(1) is available; the "--"
end-of-options marker wasn't recognized
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/push-docs.sh4
1 files changed, 4 insertions, 0 deletions
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