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

Method format_help

tools/marvin/marvin/deployAndRun.py:407–417  ·  view source on GitHub ↗
(self, formatter=None)

Source from the content-addressed store, hash-verified

405class MarvinCliParser(OptionParser):
406
407 def format_help(self, formatter=None):
408 if formatter is None:
409 formatter = self.formatter
410 result = []
411 if self.usage:
412 result.append(MarvinCliHelp.print_msg("\nUsage: marvincli [cmd] [options]. See, the below cmds for more information."
413 "(*) signifies mandatory fields \n\n"))
414 self.description = MarvinCliHelp.print_cmds_help()
415 if self.description:
416 result.append(self.format_description(formatter) + "\n")
417 return "".join(result)
418
419
420def main():

Callers

nothing calls this directly

Calls 4

print_msgMethod · 0.80
print_cmds_helpMethod · 0.80
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected