diff options
author | Thomas Gerigk <tgerigk@gmx.de> | 2006-04-03 19:59:54 +0200 |
---|---|---|
committer | Thomas Gerigk <tgerigk@gmx.de> | 2006-04-03 19:59:54 +0200 |
commit | 949cb83cf22e01f9b6dc7227effd1a091b9a6341 (patch) | |
tree | 76c46ca95dbf1886c67f1fa385835026158fccae /becommands | |
parent | 37c35bbba33cfafdde927c130fe04dbdcffa6851 (diff) | |
download | bugseverywhere-949cb83cf22e01f9b6dc7227effd1a091b9a6341.tar.gz |
add help to 'inprogress'.
(What does 'in-progress' mean to a bug?)
Diffstat (limited to 'becommands')
-rw-r--r-- | becommands/inprogress.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/becommands/inprogress.py b/becommands/inprogress.py index 214efa1..10d5cbd 100644 --- a/becommands/inprogress.py +++ b/becommands/inprogress.py @@ -29,7 +29,19 @@ def execute(args): u'in-progress' >>> tests.clean_up() """ + options, args = get_parser().parse_args(args) assert(len(args) == 1) bug = cmdutil.get_bug(args[0]) bug.status = "in-progress" bug.save() + +def get_parser(): + parser = cmdutil.CmdOptionParser("be inprogress BUG-ID") + return parser + +longhelp=""" +Mark a bug as 'in-progress'. +""" + +def help(): + return get_parser().help_str() + longhelp |