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>
This commit is contained in:
Shawn O. Pearce 2011-10-11 15:23:37 -07:00
parent 1a68dc58eb
commit 752371d91b

View File

@ -165,6 +165,7 @@ See 'repo help --all' for a complete list of recognized commands.
print >>sys.stderr, "repo: '%s' is not a repo command." % name print >>sys.stderr, "repo: '%s' is not a repo command." % name
sys.exit(1) sys.exit(1)
cmd.manifest = self.manifest
self._PrintCommandHelp(cmd) self._PrintCommandHelp(cmd)
else: else: