From ccc53e9574a5c921e1c522877f8ded5a15ceac32 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 4 Jul 2013 13:19:39 +0000 Subject: Improve docstring for "morph show-branch-root" --- morphlib/plugins/branch_and_merge_plugin.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'morphlib/plugins/branch_and_merge_plugin.py') diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index 9536209f..21011b4e 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -2021,7 +2021,16 @@ class BranchAndMergePlugin(cliapp.Plugin): self.app.output.write('%s\n' % branch) def show_branch_root(self, args): - '''Print name of the repository holding the system morphologies''' + '''Show the name of the repository holding the system morphologies. + + This would, for example, write out something like: + + /src/ws/master/baserock:baserock/morphs + + when the master branch of the `baserock:baserock/morphs` + repository is checked out. + + ''' workspace = self.deduce_workspace() system_branch, branch_dir = self.deduce_system_branch() -- cgit v1.2.1