def optionhelp(self, indent=<NUM_LIT:0>, maxindent=<NUM_LIT>, width=<NUM_LIT>):
def makelabels(option):<EOL><INDENT>labels = '<STR_LIT>' % (indent, '<STR_LIT:U+0020>', option.name)<EOL>if option.abbreviation:<EOL><INDENT>labels += '<STR_LIT>' + option.abbreviation<EOL><DEDENT>return labels + '<STR_LIT>'<EOL><DEDENT>docs = []<EOL>helpindent = _autoindent([makelabels(o) for o in list(self.options.values())], indent, maxindent)<EOL>for name in self.option_order:<EOL><INDENT>option = self.options[name]<EOL>labels = makelabels(option)<EOL>helpstring = "<STR_LIT>" % (option.formatname, option.strvalue, option.docs)<EOL>wrapped = self._wrap_labelled(labels, helpstring, helpindent, width)<EOL>docs.extend(wrapped)<EOL><DEDENT>return '<STR_LIT:\n>'.join(docs)<EOL>
Return user friendly help on program options.