summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: