Terry J. Reedy <tjre...@udel.edu> added the comment:
You think the behavior is wrong. Does it disagree with the doc? If not, this is an design change (enhancement) issue limited to future version. If so, it might be a bug that can be backported. However, when I run the code on Windows with an argument f:\dev\3x>py -3.8 f:/python/a/tem3.py a b usage: tem3.py [-h] ... I do not get an error, but get the same usage message as without. Adding quotes on the command line makes no difference. ---------- nosy: +terry.reedy stage: -> test needed title: Positional arguments which use store boolean actions do not behave as other actions. -> Positional arguments with boolean actions behave differently _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41769> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com