summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-27 18:51:22 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-27 18:51:22 +0000
commit5d45ed386b9212f00445f668a83ad0f9133850e8 (patch)
tree6b01c52e1bf7d238b5b52e7d56c12d796898b87c /morph
parent3500ca7889a44795ebab04643829d82d840d75bf (diff)
downloadmorph-5d45ed386b9212f00445f668a83ad0f9133850e8.tar.gz
Add docstring to the update-gits subcommand
Diffstat (limited to 'morph')
-rwxr-xr-xmorph8
1 files changed, 8 insertions, 0 deletions
diff --git a/morph b/morph
index 2180cec3..13d934d6 100755
--- a/morph
+++ b/morph
@@ -172,6 +172,14 @@ class Morph(cliapp.Application):
self.output.write(' %s\n' % blob)
def cmd_update_gits(self, args):
+ '''Update cached git repositories.
+
+ Parse the given morphologies, and their dependencies, and
+ update all the git repositories referred to by them in the
+ morph cache directory.
+
+ '''
+
morph_loader = MorphologyLoader(self.settings)
source_manager = morphlib.sourcemanager.SourceManager(self)
while len(args) >= 3: