summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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