[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
caveman added the comment: When | is dropped, it means that the arguments/options are no longer mutually exclusive, which renders the resultant help menu incorrect. -- ___ Python tracker <https://bugs.python.org/issue31

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
caveman added the comment: forgot to add: when you execute the code, pass the argument '-h' in order to have the script generate the help menu text. -- ___ Python tracker <https://bugs.python.o

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
New submission from caveman : if you execute the code below, mutually exclusive agrs are separated by '|' as expected. but if you uncomment the 1 line down there, then the args list will be too long, and as argparse tries to wrap the args around, it drops all '|'s which s