projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f108aa1
)
Add documentation and testcase for "be target list".
author
Chris Ball
<cjb@laptop.org>
Wed, 24 Jun 2009 21:40:59 +0000
(17:40 -0400)
committer
Chris Ball
<cjb@laptop.org>
Wed, 24 Jun 2009 21:40:59 +0000
(17:40 -0400)
becommands/target.py
patch
|
blob
|
history
diff --git
a/becommands/target.py
b/becommands/target.py
index 46b7898dcc3dcf68c15e7175e54bc6c6d0a045a9..cc67df94a0a1ac4784bf8b76f5748dea045a0ad1 100644
(file)
--- 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():