Lines Matching refs:option_strings
314 if action.option_strings:
439 elif not action.option_strings:
453 option_string = action.option_strings[0]
548 if not action.option_strings:
559 parts.extend(action.option_strings)
566 for option_string in action.option_strings:
696 if action.option_strings or action.nargs in defaulting_nargs:
724 elif argument.option_strings:
725 return '/'.join(argument.option_strings)
815 option_strings, argument
825 self.option_strings = option_strings
851 return self.option_strings[0]
858 option_strings, argument
868 for option_string in option_strings:
879 option_strings=_option_strings,
890 if option_string in self.option_strings:
894 return ' | '.join(self.option_strings)
900 option_strings, argument
917 option_strings=option_strings,
935 option_strings, argument
943 option_strings=option_strings,
958 option_strings, argument
964 option_strings=option_strings,
975 option_strings, argument
981 option_strings=option_strings,
992 option_strings, argument
1009 option_strings=option_strings,
1030 option_strings, argument
1038 option_strings=option_strings,
1057 option_strings, argument
1063 option_strings=option_strings,
1080 option_strings, argument
1085 option_strings=option_strings,
1099 option_strings, argument
1105 option_strings=option_strings,
1131 sup.__init__(option_strings=[], dest=dest, help=help,
1135 option_strings, argument
1149 option_strings=option_strings,
1455 for option_string in action.option_strings:
1459 for option_string in action.option_strings:
1524 return dict(kwargs, dest=dest, option_strings=[])
1528 option_strings = []
1540 option_strings.append(option_string)
1550 dest_option_string = option_strings[0]
1558 return dict(kwargs, dest=dest, option_strings=option_strings)
1577 for option_string in action.option_strings:
1602 action.option_strings.remove(option_string)
1607 if not action.option_strings:
1791 action = parsers_class(option_strings=[], **kwargs)
1798 if action.option_strings:
1807 if action.option_strings]
1812 if not action.option_strings]
2317 if action.option_strings:
2422 if action.option_strings:
2433 not action.option_strings):