From 351b998840bf19973d9105df2cb335a2f4680877 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Wed, 12 Dec 2007 17:33:57 -0500 Subject: duh, close needs a resolution --- bugzilla | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bugzilla') 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 -- cgit