[issue41253] unittest -h shows a flag -s but it doesn't work

2020-07-10 Thread Eric V. Smith
Eric V. Smith added the comment: This appears to just be a misunderstanding: -s is a flag to "unittest discover", not to "unittest" itself. I think this is clear from the help text, so I'm closing this. If I'm incorrect, let me know. -- nosy: +eric.smith resolution: -> not a bug

[issue41253] unittest -h shows a flag -s but it doesn't work

2020-07-08 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The -s option shown in `python3 -m unittest -h` is grouped under help for discover. Options for a discover command don't necessarily apply to the unittest command itself. $ python3 -m unittest -h usage: python3 -m unittest [-h] [-v] [-q]

[issue41253] unittest -h shows a flag -s but it doesn't work

2020-07-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Where do you see option -s? -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue41253] unittest -h shows a flag -s but it doesn't work

2020-07-08 Thread Faris Chugthai
New submission from Faris Chugthai : I'm not 100% sure what's happening here but running: `python -m unittest -h` shows a flag `-s` as does `python -m unittest discover -h`. When run as: `python -m unittest discover -s test` the command runs correctly but when run as `python -m unittest