(self, *args)
| 885 | # Dirty hack to display longer options without breaking into two lines |
| 886 | if hasattr(parser, "formatter"): |
| 887 | def _(self, *args): |
| 888 | retVal = parser.formatter._format_option_strings(*args) |
| 889 | if len(retVal) > MAX_HELP_OPTION_LENGTH: |
| 890 | retVal = ("%%.%ds.." % (MAX_HELP_OPTION_LENGTH - parser.formatter.indent_increment)) % retVal |
| 891 | return retVal |
| 892 | |
| 893 | parser.formatter._format_option_strings = parser.formatter.format_option_strings |
| 894 | parser.formatter.format_option_strings = type(parser.formatter.format_option_strings)(_, parser) |
nothing calls this directly
no test coverage detected