From 08d811aa7b56af39441a50358ebd23da092d8db2 Mon Sep 17 00:00:00 2001 From: Chris Ball Date: Wed, 24 Jun 2009 17:40:59 -0400 Subject: [PATCH] Add documentation and testcase for "be target list". --- becommands/target.py | 4 ++++ 1 file changed, 4 insertions(+) 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(): -- 2.26.2