When emitting a command-line error message, *say* it's an error.

This commit is contained in:
Greg Ward 1999-12-16 01:19:05 +00:00
parent ad83f04086
commit 9d46b9ce97
1 changed files with 1 additions and 1 deletions

View File

@ -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: