def PrintPositionalDefinition(self, arg): self._out('\n{0}::\n'.format( usage_text.GetPositionalUsage(arg, markdown=True))) self._out('\n{arghelp}\n'.format(arghelp=self.GetArgDetails(arg)))
def PrintPositionalDefinition(self, arg, depth=0): self._out('\n{usage}{depth}\n'.format( usage=usage_text.GetPositionalUsage(arg, markdown=True), depth=':' * (depth + _HANGING_OFFSET))) self._out('\n{arghelp}\n'.format(arghelp=self.GetArgDetails(arg)))