Home | History | Annotate | Download | only in python2.7

Lines Matching refs:help

18         help='an integer to be summed')
21 help='the file where the sum should be written')
54 not to change the formatting for help text, and
56 to the help.
144 # Formatting Help
148 """Formatter for generating usage messages and argument help strings.
225 # join the section-initial newline, the heading and the help
254 if action.help is not SUPPRESS:
276 # Help-formatting methods
279 help = self._root_section.format_help()
280 if help:
281 help = self._long_break_matcher.sub('\n\n', help)
282 help = help.strip('\n') + '\n'
283 return help
417 if action.help is SUPPRESS:
494 if not action.help:
510 # collect the pieces of the action help
513 # if there was help for the action, add lines of help text
514 if action.help:
525 # if there are any sub-actions, add their help as well
624 return action.help
628 """Help message formatter which retains any formatting in descriptions.
639 """Help message formatter which retains formatting of all help text.
650 """Help message formatter which adds default values to argument help.
657 help = action.help
658 if '%(default)' not in action.help:
662 help += ' (default: %(default)s)'
663 return help
757 - help -- The help string describing the argument.
760 help string. If None, the 'dest' value will be used as the name.
772 help=None,
782 self.help = help
794 'help',
814 help=None,
831 help=help,
846 help=None,
855 help=help)
868 help=None):
875 help=help)
885 help=None):
892 help=help)
906 help=None,
923 help=help,
940 help=None,
949 help=help,
965 help=None):
972 help=help)
985 help=None):
991 help=help)
1005 help="show program's version number and exit"):
1011 help=help)
1027 def __init__(self, name, help):
1029 sup.__init__(option_strings=[], dest=name, help=help)
1036 help=None,
1049 help=help,
1057 # create a pseudo-action to hold the choice help
1058 if 'help' in kwargs:
1059 help = kwargs.pop('help')
1060 choice_action = self._ChoicesPseudoAction(name, help)
1193 self.register('action', 'help', _HelpAction)
1534 - formatter_class -- HelpFormatter class for printing help messages
1540 - add_help -- Add a -h/-help option
1593 # add help and version arguments if necessary
1598 default_prefix+'h', default_prefix*2+'help',
1599 action='help', default=SUPPRESS,
1600 help=_('show this help message and exit'))
1606 help=_("show program's version number and exit"))
1968 if action.help is not SUPPRESS]
2272 # Help-formatting methods
2300 # determine help from format above
2317 # Help-printing methods