changeset 44:1dbe08e18513

Change command aliases.
author Brian Neal <bgneal@gmail.com>
date Tue, 02 Jul 2013 21:19:46 -0500
parents 08533f5a8057
children 960c889a400a
files m209/main.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/m209/main.py	Tue Jul 02 21:17:10 2013 -0500
+++ b/m209/main.py	Tue Jul 02 21:19:46 2013 -0500
@@ -203,7 +203,7 @@
         description='type %(prog)s {command} -h for help on {command}')
 
     # create the sub-parser for encrypt
-    enc_parser = subparsers.add_parser('encrypt', aliases=['en'],
+    enc_parser = subparsers.add_parser('encrypt', aliases=['enc'],
         help='encrypt text')
     enc_parser.add_argument('-z', '--key-file', default=DEFAULT_KEY_LIST,
         help='path to key list file [default: %(default)s]')
@@ -221,7 +221,7 @@
     enc_parser.set_defaults(subcommand=encrypt)
 
     # create the sub-parser for decrypt
-    dec_parser = subparsers.add_parser('decrypt', aliases=['de'],
+    dec_parser = subparsers.add_parser('decrypt', aliases=['dec'],
         help='decrypt text')
     dec_parser.add_argument('-z', '--key-file', default=DEFAULT_KEY_LIST,
         help='path to key list file [default: %(default)s]')
@@ -231,7 +231,7 @@
 
     # create the sub-parser for generating key lists
 
-    kg_parser = subparsers.add_parser('keygen', aliases=['kg'],
+    kg_parser = subparsers.add_parser('keygen', aliases=['key'],
         description='Generate key list file',
         help='generate key list')
     kg_parser.add_argument('-z', '--key-file', default=DEFAULT_KEY_LIST,