/external/llvm-project/debuginfo-tests/dexter/dex/utils/ |
D | ExtArgParse.py | 45 raise Error('{}\n\n{}'.format(message, self.format_usage())) 59 def format_usage(self): member in ExtArgumentParser 60 return _colorize(super(ExtArgumentParser, self).format_usage())
|
/external/llvm-project/debuginfo-tests/dexter/dex/tools/ |
D | ToolBase.py | 110 pparser.usage = self.parser.format_usage().lstrip('usage: ')
|
/external/python/cpython2/Lib/ |
D | optparse.py | 249 def format_usage(self, usage): member in HelpFormatter 374 def format_usage(self, usage): member in IndentedHelpFormatter 393 def format_usage(self, usage): member in TitledHelpFormatter 1588 return self.formatter.format_usage(
|
D | argparse.py | 2291 def format_usage(self): member in ArgumentParser 2339 self._print_message(self.format_usage(), file)
|
/external/python/cpython3/Lib/ |
D | optparse.py | 255 def format_usage(self, usage): member in HelpFormatter 380 def format_usage(self, usage): member in IndentedHelpFormatter 399 def format_usage(self, usage): member in TitledHelpFormatter 1573 return self.formatter.format_usage(
|
D | argparse.py | 458 part = action.format_usage() 850 def format_usage(self): member in Action 893 def format_usage(self): member in BooleanOptionalAction 2365 self.usage = self.format_usage()[7:] 2505 def format_usage(self): member in ArgumentParser 2543 self._print_message(self.format_usage(), file)
|
/external/python/cpython2/Lib/test/ |
D | test_argparse.py | 1860 self.assertEqual(self.parser.format_usage(), 1879 self.assertEqual(parser.format_usage(), 1898 self.assertEqual(parser.format_usage(), 1915 self.assertEqual(self.command_help_parser.format_usage(), 1945 self.assertEqual(parser.format_usage(), 2291 format_usage = self.get_parser(required=False).format_usage 2293 self.assertEqual(format_usage(), textwrap.dedent(expected_usage)) 2296 format_usage = self.get_parser(required=True).format_usage 2298 self.assertEqual(format_usage(), textwrap.dedent(expected_usage))
|
/external/python/cpython3/Lib/test/ |
D | test_argparse.py | 2069 self.assertEqual(self.parser.format_usage(), 2088 self.assertEqual(parser.format_usage(), 2124 self.assertEqual(parser.format_usage(), 2141 self.assertEqual(self.command_help_parser.format_usage(), 2171 self.assertEqual(parser.format_usage(), 2551 format_usage = self.get_parser(required=False).format_usage 2553 self.assertEqual(format_usage(), textwrap.dedent(expected_usage)) 2556 format_usage = self.get_parser(required=True).format_usage 2558 self.assertEqual(format_usage(), textwrap.dedent(expected_usage))
|
/external/llvm-project/polly/utils/ |
D | argparse.py | 2266 def format_usage(self): member in ArgumentParser 2314 self._print_message(self.format_usage(), file)
|
/external/python/cpython3/Doc/library/ |
D | argparse.rst | 858 ``format_usage`` methods. 1376 Action subclasses can define a ``format_usage`` method that takes no argument 1984 .. method:: ArgumentParser.format_usage()
|
/external/python/cpython2/Doc/library/ |
D | argparse.rst | 1850 .. method:: ArgumentParser.format_usage()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 2437 Fixed :meth:`argparse.ArgumentParser.format_usage` for mutually exclusive
|