New submission from Faris Chugthai <farischugt...@gmail.com>:
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 -s test` the command fails. ```sh $ python -m unittest -s test usage: python -m unittest [-h] [-v] [-q] [--locals] [-f] [-c] [-b] [-k TESTNAMEPATTERNS] [tests [tests ...] python -m unittest: error: unrecognized arguments: -s ``` Which I believe to be a bug as the help generated by the discover subcommand indicates that the flag -s should be recognized. ---------- components: Tests messages: 373372 nosy: Faris Chugthai priority: normal severity: normal status: open title: unittest -h shows a flag -s but it doesn't work type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com