mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
a couple of nits from Patch #100933
This commit is contained in:
parent
334fb8985b
commit
0365180a74
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ def test():
|
|||
except getopt.error, msg:
|
||||
sys.stdout = sys.stderr
|
||||
print msg
|
||||
print """usage: basd64 [-d] [-e] [-u] [-t] [file|-]
|
||||
print """usage: %s [-d|-e|-u|-t] [file|-]
|
||||
-d, -u: decode
|
||||
-e: encode (default)
|
||||
-t: decode string 'Aladdin:open sesame'"""
|
||||
-t: encode and decode string 'Aladdin:open sesame'"""%sys.argv[0]
|
||||
sys.exit(2)
|
||||
func = encode
|
||||
for o, a in opts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue