summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2011-10-11 15:23:37 -0700
committerShawn O. Pearce <sop@google.com>2011-10-11 15:23:41 -0700
commit752371d91b9c7d1e9d6859cdf4cd8fef2f7b245c (patch)
treef29505f32a824bb4e360176202fd58fd9bce5d8f
parent1a68dc58ebc03d58d063235f19282988a2846e63 (diff)
downloadgit-repo-752371d91b9c7d1e9d6859cdf4cd8fef2f7b245c.tar.gz
help: Fix help sync
help sync crashed as sync required the manifest to be configured to create the option parser, as the default number of jobs is required. Change-Id: Ie75e8d75ac0e38313e4aab451cbb24430e84def5 Signed-off-by: Shawn O. Pearce <sop@google.com>
-rw-r--r--subcmds/help.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/help.py b/subcmds/help.py
index 90b817db..0df3c14b 100644
--- a/subcmds/help.py
+++ b/subcmds/help.py
@@ -165,6 +165,7 @@ See 'repo help --all' for a complete list of recognized commands.
165 print >>sys.stderr, "repo: '%s' is not a repo command." % name 165 print >>sys.stderr, "repo: '%s' is not a repo command." % name
166 sys.exit(1) 166 sys.exit(1)
167 167
168 cmd.manifest = self.manifest
168 self._PrintCommandHelp(cmd) 169 self._PrintCommandHelp(cmd)
169 170
170 else: 171 else: