mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
their version strings to stdout, and not to sderr.
This commit is contained in:
parent
34464d42a8
commit
c56894d305
3 changed files with 8 additions and 2 deletions
|
@ -780,7 +780,7 @@ def parseargs():
|
|||
if opt in ('-h', '--help'):
|
||||
usage(0)
|
||||
elif opt in ('-V', '--version'):
|
||||
print(__version__, file=sys.stderr)
|
||||
print(__version__)
|
||||
sys.exit(0)
|
||||
elif opt in ('-n', '--nosetuid'):
|
||||
options.setuid = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue