diff --git a/command.py b/command.py index d4d86798..b1fa0ef5 100644 --- a/command.py +++ b/command.py @@ -66,7 +66,8 @@ class Command(object): usage = self.helpUsage.strip().replace('%prog', me) except AttributeError: usage = 'repo %s' % self.NAME - self._optparse = optparse.OptionParser(usage=usage) + epilog = 'Run `repo help %s` to view the detailed manual.' % self.NAME + self._optparse = optparse.OptionParser(usage=usage, epilog=epilog) self._Options(self._optparse) return self._optparse