MCPcopy Create free account
hub / github.com/apache/madlib / format_help

Method format_help

src/madpack/argparse.py:307–312  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

305 # Help-formatting methods
306 # =======================
307 def format_help(self):
308 help = self._root_section.format_help()
309 if help:
310 help = self._long_break_matcher.sub('\n\n', help)
311 help = help.strip('\n') + '\n'
312 return help
313
314 def _join_parts(self, part_strings):
315 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