Lines Matching refs:option_strings
312 if action.option_strings:
427 elif not action.option_strings:
440 option_string = action.option_strings[0]
535 if not action.option_strings:
545 parts.extend(action.option_strings)
552 for option_string in action.option_strings:
663 if action.option_strings or action.nargs in defaulting_nargs:
675 elif argument.option_strings:
676 return '/'.join(argument.option_strings)
766 option_strings, argument
776 self.option_strings = option_strings
808 option_strings, argument
825 option_strings=option_strings,
843 option_strings, argument
851 option_strings=option_strings,
866 option_strings, argument
872 option_strings=option_strings,
883 option_strings, argument
889 option_strings=option_strings,
900 option_strings, argument
917 option_strings=option_strings,
937 option_strings, argument
945 option_strings=option_strings,
963 option_strings, argument
969 option_strings=option_strings,
984 option_strings, argument
989 option_strings=option_strings,
1003 option_strings, argument
1009 option_strings=option_strings,
1031 sup.__init__(option_strings=[], dest=name, help=help)
1034 option_strings, argument
1047 option_strings=option_strings,
1329 for option_string in action.option_strings:
1333 for option_string in action.option_strings:
1398 return dict(kwargs, dest=dest, option_strings=[])
1402 option_strings = []
1413 option_strings.append(option_string)
1425 dest_option_string = option_strings[0]
1433 return dict(kwargs, dest=dest, option_strings=option_strings)
1452 for option_string in action.option_strings:
1475 action.option_strings.remove(option_string)
1480 if not action.option_strings:
1674 action = parsers_class(option_strings=[], **kwargs)
1681 if action.option_strings:
1690 if action.option_strings]
1695 if not action.option_strings]
2190 if action.option_strings:
2210 if action.option_strings:
2221 not action.option_strings):