This renames -t/--tag option of post-koji-build watcher
to -g/--tag option, because -t already exists on autoqa
as -t/--test. Therefore it fixes crash that would occur when
running eg.:
$ autoqa post-koji-build -l
---
hooks/post-koji-build/hook.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hooks/post-koji-build/hook.py b/hooks/post-koji-build/hook.py
index 347dc77..68f3e5a 100644
--- a/hooks/post-koji-build/hook.py
+++ b/hooks/post-koji-build/hook.py
@@ -15,7 +15,7 @@ def extend_parser(parser):
'''Extend the given OptionParser object with settings for this
hook.'''
parser.set_usage('%%prog %s [options] PACKAGENVR' % name)
group = optparse.OptionGroup(parser, '%s options' % name)
- group.add_option('-t', '--tag', default='',
+ group.add_option('-g', '--tag', default='',
help='Koji tag that has just been applied to this new build')
group.add_option('-n', '--name', default='',
help='The name of the package, by itself')
--
1.6.2.5