summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-07-25 14:34:38 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-07-25 14:34:38 (GMT)
commit0365180a74904c1b6ac186e9edb923afed59aa84 (patch)
treedd2e0178596b4732bff351cb336877444afea82c /Lib
parent334fb8985bc126f62af65669150c30787eabddd9 (diff)
downloadcpython-0365180a74904c1b6ac186e9edb923afed59aa84.zip
cpython-0365180a74904c1b6ac186e9edb923afed59aa84.tar.gz
cpython-0365180a74904c1b6ac186e9edb923afed59aa84.tar.bz2
a couple of nits from Patch #100933
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/base64.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/base64.py b/Lib/base64.py
index 5ef2081..ae67f68 100755
--- a/Lib/base64.py
+++ b/Lib/base64.py
@@ -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: