# HG changeset patch # User Brian Neal # Date 1372817986 18000 # Node ID 1dbe08e185134546e43ecea9cb49098566a96c9e # Parent 08533f5a80574e9243a7f89be2378aa6cb2f3674 Change command aliases. diff -r 08533f5a8057 -r 1dbe08e18513 m209/main.py --- 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,