aboutsummaryrefslogtreecommitdiff
path: root/gkeys
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-12-30 18:50:20 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-12-31 18:39:51 -0800
commitc2e01ecee2f14ca8a4419433e43a50f5f7489376 (patch)
tree5088d8f3f801c11aae6b55817fb02840d157b0d4 /gkeys
parentgkeys-gen: Initial migration to use gkeys.base.CliBase class (diff)
downloadgentoo-keys-c2e01ecee2f14ca8a4419433e43a50f5f7489376.tar.gz
gentoo-keys-c2e01ecee2f14ca8a4419433e43a50f5f7489376.tar.bz2
gentoo-keys-c2e01ecee2f14ca8a4419433e43a50f5f7489376.zip
gkeys-gen: Add spec option
Action config changes
Diffstat (limited to 'gkeys')
-rw-r--r--gkeys/gkeys/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gkeys/gkeys/base.py b/gkeys/gkeys/base.py
index 6e53f87..5c9505d 100644
--- a/gkeys/gkeys/base.py
+++ b/gkeys/gkeys/base.py
@@ -174,6 +174,11 @@ class CliBase(object):
help='The path/URL to use for the signature')
@staticmethod
+ def _option_spec(parser=None):
+ parser.add_argument('-S', '--spec', dest='spec', default=None,
+ help='The spec file to use from the gkeys-gen.conf file')
+
+ @staticmethod
def _option_timestamp(parser=None):
parser.add_argument('-t', '--timestamp', dest='timestamp',
action='store_true', default=False,