Lines Matching refs:option_strings
312 if action.option_strings:
431 elif not action.option_strings:
444 option_string = action.option_strings[0]
539 if not action.option_strings:
549 parts.extend(action.option_strings)
556 for option_string in action.option_strings:
667 if action.option_strings or action.nargs in defaulting_nargs:
679 elif argument.option_strings:
680 return '/'.join(argument.option_strings)
770 option_strings, argument
780 self.option_strings = option_strings
812 option_strings, argument
829 option_strings=option_strings,
847 option_strings, argument
855 option_strings=option_strings,
870 option_strings, argument
876 option_strings=option_strings,
887 option_strings, argument
893 option_strings=option_strings,
904 option_strings, argument
921 option_strings=option_strings,
941 option_strings, argument
949 option_strings=option_strings,
967 option_strings, argument
973 option_strings=option_strings,
988 option_strings, argument
993 option_strings=option_strings,
1007 option_strings, argument
1013 option_strings=option_strings,
1035 sup.__init__(option_strings=[], dest=name, help=help)
1038 option_strings, argument
1051 option_strings=option_strings,
1333 for option_string in action.option_strings:
1337 for option_string in action.option_strings:
1402 return dict(kwargs, dest=dest, option_strings=[])
1406 option_strings = []
1417 option_strings.append(option_string)
1429 dest_option_string = option_strings[0]
1437 return dict(kwargs, dest=dest, option_strings=option_strings)
1456 for option_string in action.option_strings:
1479 action.option_strings.remove(option_string)
1484 if not action.option_strings:
1678 action = parsers_class(option_strings=[], **kwargs)
1685 if action.option_strings:
1694 if action.option_strings]
1699 if not action.option_strings]
2194 if action.option_strings:
2214 if action.option_strings:
2225 not action.option_strings):