code: def print_help(self):
          
  
          print('\n  %s %s' % (self._title or self._name, self._version or ''))
  
          if self._usage:
              print('\n  %s' % self._usage)
          else:
              cmd = self._name
              if hasattr(self, '_parent') and isinstance(self._parent, Command):
                  cmd = '%s %s' % (self._parent._name, cmd)
  
              if self._command_list:
                  usage = 'Usage: %s <command> [option]' % cmd
              else:
                  usage = 'Usage: %s [option]' % cmd
  
              pos = ' '.join(['<%s>' % name for name in self._positional_list])
              print('\n  %s %s' % (usage, pos))
  
          arglen = max(len(o.name) for o in self._option_list)
          arglen += 2
  
          self.print_title('\n  Options:\n')
          for o in self._option_list:
              print('    %s %s' % (_pad(o.name, arglen), o.description or ''))
          print('')
  
          if self._command_list:
              self.print_title('  Commands:\n')
              for cmd in self._command_list:
                  if isinstance(cmd, Command):
                      name = _pad(cmd._name, arglen)
                      desc = cmd._description or ''
                      print('    %s %s' % (_pad(name, arglen), desc))
  
              print('')
  
          if self._help_footer:
              print(self._help_footer)
              print('')
  
          return self
docs: Print the help menu.