From: Chris Ball Date: Wed, 24 Jun 2009 21:40:59 +0000 (-0400) Subject: Add documentation and testcase for "be target list". X-Git-Tag: 1.0.0~72 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=08d811aa7b56af39441a50358ebd23da092d8db2;p=be.git Add documentation and testcase for "be target list". --- diff --git a/becommands/target.py b/becommands/target.py index 46b7898..cc67df9 100644 --- a/becommands/target.py +++ b/becommands/target.py @@ -28,6 +28,8 @@ def execute(args, test=False): >>> execute(["a", "tomorrow"], test=True) >>> execute(["a"], test=True) tomorrow + >>> execute(["list"], test=True) + tomorrow >>> execute(["a", "none"], test=True) >>> execute(["a"], test=True) No target assigned. @@ -73,6 +75,8 @@ Targets are freeform; any text may be specified. They will generally be milestone names or release numbers. The value "none" can be used to unset the target. + +"list" can be used in place of a bug-ID to show all existing targets. """ def help():