(self, *args)
| 303 | |
| 304 | # Dirty hack(s) for help message |
| 305 | def _(self, *args): |
| 306 | retval = parser.formatter._format_option_strings(*args) |
| 307 | if len(retval) > MAX_HELP_OPTION_LENGTH: |
| 308 | retval = ("%%.%ds.." % (MAX_HELP_OPTION_LENGTH - parser.formatter.indent_increment)) % retval |
| 309 | return retval |
| 310 | |
| 311 | parser.usage = "python %s <host|url>" % parser.usage |
| 312 | parser.formatter._format_option_strings = parser.formatter.format_option_strings |
nothing calls this directly
no test coverage detected