summaryrefslogtreecommitdiffstats
path: root/bugzilla
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2007-12-12 17:33:57 -0500
committerWill Woods <wwoods@redhat.com>2007-12-12 17:33:57 -0500
commit351b998840bf19973d9105df2cb335a2f4680877 (patch)
tree94cea2ea9b21faa051284fda5d96d2fe44e7bbd0 /bugzilla
parent017c7f061471f2985f29169514778d5f903ff74c (diff)
downloadpython-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.tar.gz
python-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.tar.xz
python-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.zip
duh, close needs a resolution
Diffstat (limited to 'bugzilla')
-rwxr-xr-xbugzilla6
1 files changed, 4 insertions, 2 deletions
diff --git a/bugzilla b/bugzilla
index d2e2f65..80d743e 100755
--- a/bugzilla
+++ b/bugzilla
@@ -121,8 +121,10 @@ def setup_action_parser(action):
p.set_usage("usage: %prog modify [options] BUGID BUGID ...")
p.add_option('-l','--comment',
help='Add a comment')
- p.add_option('-k','--close',action='store_true',
- help='Close the bug(s)')
+ # FIXME: check value for resolution
+ p.add_option('-k','--close',metavar="RESOLUTION"
+ help='Close with the given resolution')
+ # TODO: --keyword, --flag, --tag, --status, --assignee, --cc, ...
if action in ('new','query'):
# output modifiers