]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
a couple of nits from Patch #100933
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 25 Jul 2000 14:34:38 +0000 (14:34 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 25 Jul 2000 14:34:38 +0000 (14:34 +0000)
Lib/base64.py

index 5ef2081c881a5be14cec1872234e116ddb77bc7d..ae67f68eccb38d597966a01d7fa936d02e4f3f14 100755 (executable)
@@ -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: