summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-04 13:20:22 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-07-05 14:35:46 +0000
commit444f4e1ac597213355be73d32ab6c67b2e0c097c (patch)
treeba3f508b2bd3b55fd61c94313157efc14487b934
parentccc53e9574a5c921e1c522877f8ded5a15ceac32 (diff)
downloaddefinitions-444f4e1ac597213355be73d32ab6c67b2e0c097c.tar.gz
Improve docstring for "morph status"
-rw-r--r--morphlib/plugins/branch_and_merge_plugin.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py
index 21011b4e..d2c15c2d 100644
--- a/morphlib/plugins/branch_and_merge_plugin.py
+++ b/morphlib/plugins/branch_and_merge_plugin.py
@@ -1910,7 +1910,17 @@ class BranchAndMergePlugin(cliapp.Plugin):
':%s' % info['build-ref']], cwd=info['dirname'])
def status(self, args):
- '''Show information about the current system branch or workspace'''
+ '''Show information about the current system branch or workspace
+
+ This shows the status of every local git repository of the
+ current system branch. This is similar to running `git status`
+ in each repository separately, but the output is nicer.
+
+ If run in a Morph workspace, but not in a system branch checkout,
+ it lists all checked out system branches in the workspace.
+
+ '''
+
if len(args) != 0:
raise cliapp.AppException('morph status takes no arguments')