From 5b31b5cbc9bf1ee54da8aa269d74e38c00bc5015 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Fri, 21 Jun 2013 18:38:50 -0700 Subject: [PATCH] Add a --nick option. Move the --name short option to -N, so -n could be for --nick. Fix a copied message that I failed to edit. --- gkeys/cli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gkeys/cli.py b/gkeys/cli.py index d3d0786..f9720f9 100644 --- a/gkeys/cli.py +++ b/gkeys/cli.py @@ -72,8 +72,10 @@ class Main(object): help='The destination seed file or keyring for move, copy operations') parser.add_argument('-f', '--fingerprint', dest='fingerprint', default=None, help='The fingerprint of the the key') - parser.add_argument('-n', '--name', dest='name', default=None, + parser.add_argument('-N', '--name', dest='name', default=None, help='The name of the the key') + parser.add_argument('-n', '--nick', dest='nick', default=None, + help='The nick associated with the the key') parser.add_argument('-k', '--keyid', dest='keyid', default=None, help='The keyid of the the key') parser.add_argument('-l', '--longkeyid', dest='longkeyid', default=None, @@ -225,7 +227,7 @@ class Main(object): % (args.seeds, str(success)), sourcekeys[0]]) return messages elif len(sourcekeys): - messages = ["Too many seeds found to remove"] + messages = ["Too many seeds found to move"] messages.extend(sourcekeys) return messages messages.append("Failed to Move seed:") -- 2.26.2