[Pgp-tools-commit] r641 - trunk/keyart
Aaron Toponce
atoponce-guest at moszumanska.debian.org
Fri Jun 13 14:28:17 UTC 2014
Author: atoponce-guest
Date: 2014-06-13 14:28:17 +0000 (Fri, 13 Jun 2014)
New Revision: 641
Modified:
trunk/keyart/keyart
Log:
fix regression with ansi option
Modified: trunk/keyart/keyart
===================================================================
--- trunk/keyart/keyart 2014-06-13 14:23:10 UTC (rev 640)
+++ trunk/keyart/keyart 2014-06-13 14:28:17 UTC (rev 641)
@@ -8,7 +8,8 @@
parser = argparse.ArgumentParser(description='Create an ASCII art of a PGP key.')
group = parser.add_mutually_exclusive_group(required=True)
-parser.add_argument('-a','--ansi', help='Print the art with ANSI color.')
+parser.add_argument('-a','--ansi', help='Print the art with ANSI color.',
+ action='store_true')
group.add_argument('-i', '--id', type=str, nargs='+', metavar=('KEID'),
help='A key identifier.')
group.add_argument('-k', '--keyring', type=str, nargs='+', metavar=('KEYRING'),
More information about the Pgp-tools-commit
mailing list