Prechádzať zdrojové kódy

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>
Shawn O. Pearce 14 rokov pred
rodič
commit
752371d91b
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      subcmds/help.py

+ 1 - 0
subcmds/help.py

@@ -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
         sys.exit(1)
 
+      cmd.manifest = self.manifest
       self._PrintCommandHelp(cmd)
 
     else: