[issue10981] argparse: options starting with -- match substrings

2011-01-26 Thread David Caro
David Caro added the comment: Yes it is, here http://docs.python.org/dev/library/argparse.html#argument-abbreviations. -- ___ Python tracker ___ ___

[issue10981] argparse: options starting with -- match substrings

2011-01-26 Thread Éric Araujo
Éric Araujo added the comment: Is this behavior documented? -- nosy: +eric.araujo versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ __

[issue10981] argparse: options starting with -- match substrings

2011-01-22 Thread David Caro
David Caro added the comment: It is not an issue, it will try to match all the optional parameters, and if only one matches, then it will use it: 2110 elif option_string.startswith(option_prefix): 2111 action = self._option_string_actions[option_string] 2112

[issue10981] argparse: options starting with -- match substrings

2011-01-22 Thread David Caro
Changes by David Caro : -- title: options starting with -- match substrings -> argparse: options starting with -- match substrings ___ Python tracker ___ ___