mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
When emitting a command-line error message, *say* it's an error.
This commit is contained in:
parent
ad83f04086
commit
9d46b9ce97
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue