summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-06-29 14:39:06 (GMT)
committerFred Drake <fdrake@acm.org>2004-06-29 14:39:06 (GMT)
commit96b935e6435ea9928f3a11732d07ecfbb9a671d1 (patch)
treeaecc0e71742134fcbbd28a71689d292256ae271f
parent93b4b88e960d5868ca2c0a109a74e1a8e06d3348 (diff)
downloadcpython-96b935e6435ea9928f3a11732d07ecfbb9a671d1.zip
cpython-96b935e6435ea9928f3a11732d07ecfbb9a671d1.tar.gz
cpython-96b935e6435ea9928f3a11732d07ecfbb9a671d1.tar.bz2
fix handling when a proper getopt(1) is available; the "--"
end-of-options marker wasn't recognized
-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 c124f8b..dfccb5b 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