MCPcopy
hub / github.com/tanelpoder/0xtools / format_help

Method format_help

lib/0xtools/argparse.py:300–305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

298 # Help-formatting methods
299 # =======================
300 def format_help(self):
301 help = self._root_section.format_help()
302 if help:
303 help = self._long_break_matcher.sub('\n\n', help)
304 help = help.strip('\n') + '\n'
305 return help
306
307 def _join_parts(self, part_strings):
308 return ''.join([part

Callers 5

__call__Method · 0.45
add_subparsersMethod · 0.45
format_usageMethod · 0.45
format_helpMethod · 0.45
format_versionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected