summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-02 19:16:34 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-02 19:16:34 (GMT)
commit56be37cef2c102190b88c015ca9820821f35792a (patch)
tree6073c65f1aaf7b0ca5e5e99ec092fee777b21211 /Lib/distutils
parentdee7b8503da8ef8aaa10df54e465911fe163c917 (diff)
downloadcpython-56be37cef2c102190b88c015ca9820821f35792a.zip
cpython-56be37cef2c102190b88c015ca9820821f35792a.tar.gz
cpython-56be37cef2c102190b88c015ca9820821f35792a.tar.bz2
#7973: Fix distutils options spelling.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/bdist_msi.py2
-rw-r--r--Lib/distutils/command/bdist_wininst.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist_msi.py b/Lib/distutils/command/bdist_msi.py
index c4be47b..8a458d8 100644
--- a/Lib/distutils/command/bdist_msi.py
+++ b/Lib/distutils/command/bdist_msi.py
@@ -148,7 +148,7 @@ class bdist_msi(Command):
if not self.skip_build and self.distribution.has_ext_modules()\
and self.target_version != short_version:
raise DistutilsOptionError(
- "target version can only be %s, or the '--skip_build'"
+ "target version can only be %s, or the '--skip-build'"
" option must be specified" % (short_version,))
else:
self.versions = list(self.all_versions)
diff --git a/Lib/distutils/command/bdist_wininst.py b/Lib/distutils/command/bdist_wininst.py
index d6d01c6..3aa1dac 100644
--- a/Lib/distutils/command/bdist_wininst.py
+++ b/Lib/distutils/command/bdist_wininst.py
@@ -89,7 +89,7 @@ class bdist_wininst(Command):
short_version = get_python_version()
if self.target_version and self.target_version != short_version:
raise DistutilsOptionError(
- "target version can only be %s, or the '--skip_build'" \
+ "target version can only be %s, or the '--skip-build'" \
" option must be specified" % (short_version,))
self.target_version = short_version