diff options
author | Will Woods <wwoods@redhat.com> | 2007-12-12 17:33:57 -0500 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2007-12-12 17:33:57 -0500 |
commit | 351b998840bf19973d9105df2cb335a2f4680877 (patch) | |
tree | 94cea2ea9b21faa051284fda5d96d2fe44e7bbd0 /bugzilla | |
parent | 017c7f061471f2985f29169514778d5f903ff74c (diff) | |
download | python-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.tar.gz python-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.tar.xz python-bugzilla-351b998840bf19973d9105df2cb335a2f4680877.zip |
duh, close needs a resolution
Diffstat (limited to 'bugzilla')
-rwxr-xr-x | bugzilla | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |