Lines Matching refs:option_strings
314 if action.option_strings:
442 elif not action.option_strings:
456 option_string = action.option_strings[0]
552 if not action.option_strings:
563 parts.extend(action.option_strings)
570 for option_string in action.option_strings:
700 if action.option_strings or action.nargs in defaulting_nargs:
728 elif argument.option_strings:
729 return '/'.join(argument.option_strings)
821 option_strings, argument
831 self.option_strings = option_strings
857 return self.option_strings[0]
864 option_strings, argument
874 for option_string in option_strings:
885 option_strings=_option_strings,
896 if option_string in self.option_strings:
900 return ' | '.join(self.option_strings)
906 option_strings, argument
923 option_strings=option_strings,
941 option_strings, argument
949 option_strings=option_strings,
964 option_strings, argument
970 option_strings=option_strings,
981 option_strings, argument
987 option_strings=option_strings,
998 option_strings, argument
1015 option_strings=option_strings,
1036 option_strings, argument
1044 option_strings=option_strings,
1063 option_strings, argument
1069 option_strings=option_strings,
1086 option_strings, argument
1091 option_strings=option_strings,
1105 option_strings, argument
1111 option_strings=option_strings,
1137 sup.__init__(option_strings=[], dest=dest, help=help,
1141 option_strings, argument
1155 option_strings=option_strings,
1461 for option_string in action.option_strings:
1465 for option_string in action.option_strings:
1530 return dict(kwargs, dest=dest, option_strings=[])
1534 option_strings = []
1546 option_strings.append(option_string)
1556 dest_option_string = option_strings[0]
1564 return dict(kwargs, dest=dest, option_strings=option_strings)
1583 for option_string in action.option_strings:
1608 action.option_strings.remove(option_string)
1613 if not action.option_strings:
1798 action = parsers_class(option_strings=[], **kwargs)
1805 if action.option_strings:
1814 if action.option_strings]
1819 if not action.option_strings]
2324 if action.option_strings:
2429 if action.option_strings:
2440 not action.option_strings):