From e8942a20e72ca725394d654b6cb80d7ceb343651 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 4 Jul 2013 15:50:37 +0000 Subject: Improve docstring for "morph show-dependencies" --- morphlib/plugins/show_dependencies_plugin.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/morphlib/plugins/show_dependencies_plugin.py b/morphlib/plugins/show_dependencies_plugin.py index e4e40311..856a9361 100644 --- a/morphlib/plugins/show_dependencies_plugin.py +++ b/morphlib/plugins/show_dependencies_plugin.py @@ -31,7 +31,18 @@ class ShowDependenciesPlugin(cliapp.Plugin): pass def show_dependencies(self, args): - '''Dumps the dependency tree of all input morphologies''' + '''Dumps the dependency tree of all input morphologies. + + Command line arguments: + + * `REPO` is a git repository URL. + * `REF` is a branch or other commit reference in that repository. + * `FILENAME` is a morphology filename at that ref. + + This command analyses a system morphology and produces a listing + of build dependencies of the constituent components. + + ''' if not os.path.exists(self.app.settings['cachedir']): os.mkdir(self.app.settings['cachedir']) -- cgit v1.2.1