From 9d46b9ce9760f8cd6c29b05c50b9e41ffe781f4c Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Thu, 16 Dec 1999 01:19:05 +0000 Subject: [PATCH] When emitting a command-line error message, *say* it's an error. --- Lib/distutils/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 13bf9c7fcbc..fd5ba907fb0 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: