summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/core.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>1999-12-16 01:19:05 (GMT)
committerGreg Ward <gward@python.net>1999-12-16 01:19:05 (GMT)
commit9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c (patch)
tree3dd8ce812f7b660cc88766c15e0c70707900e518 /Lib/distutils/core.py
parentad83f04086bba6484be81a2a734432177b226f39 (diff)
downloadcpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.zip
cpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.tar.gz
cpython-9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c.tar.bz2
When emitting a command-line error message, *say* it's an error.
Diffstat (limited to 'Lib/distutils/core.py')
-rw-r--r--Lib/distutils/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 13bf9c7..fd5ba90 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -88,7 +88,7 @@ def setup (**attrs):
ok = dist.parse_command_line (sys.argv[1:])
except DistutilsArgError, msg:
sys.stderr.write (usage + "\n")
- raise SystemExit, msg
+ raise SystemExit, "error: %s" % msg
# And finally, run all the commands found on the command line.
if ok: