diff options
Diffstat (limited to 'subcmds/help.py')
-rw-r--r-- | subcmds/help.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subcmds/help.py b/subcmds/help.py index c5979fd6..e2f3074c 100644 --- a/subcmds/help.py +++ b/subcmds/help.py | |||
@@ -94,6 +94,8 @@ See 'repo help --all' for a complete list of recognized commands. | |||
94 | body = getattr(cmd, bodyAttr) | 94 | body = getattr(cmd, bodyAttr) |
95 | except AttributeError: | 95 | except AttributeError: |
96 | return | 96 | return |
97 | if body == '' or body is None: | ||
98 | return | ||
97 | 99 | ||
98 | self.nl() | 100 | self.nl() |
99 | 101 | ||
@@ -163,6 +165,7 @@ See 'repo help --all' for a complete list of recognized commands. | |||
163 | print >>sys.stderr, "repo: '%s' is not a repo command." % name | 165 | print >>sys.stderr, "repo: '%s' is not a repo command." % name |
164 | sys.exit(1) | 166 | sys.exit(1) |
165 | 167 | ||
168 | cmd.repodir = self.repodir | ||
166 | self._PrintCommandHelp(cmd) | 169 | self._PrintCommandHelp(cmd) |
167 | 170 | ||
168 | else: | 171 | else: |