aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2009-06-24 17:40:59 -0400
committerChris Ball <cjb@laptop.org>2009-06-24 17:40:59 -0400
commit08d811aa7b56af39441a50358ebd23da092d8db2 (patch)
tree12bbede31fbf08705d057f18c846d64c303cf1f0 /becommands
parentf108aa1fe803407ff47f86e44f2ff9414eeaf00d (diff)
downloadbugseverywhere-08d811aa7b56af39441a50358ebd23da092d8db2.tar.gz
Add documentation and testcase for "be target list".
Diffstat (limited to 'becommands')
-rw-r--r--becommands/target.py4
1 files changed, 4 insertions, 0 deletions
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():