This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients paolobenve, paul.j3
Date 2021-11-02.22:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635891915.78.0.725646980009.issue45673@roundup.psfhosted.org>
In-reply-to
Content
Put the required positional first

$ myapp myfile -s

or one of the store_true arguments

$ myapp -s -j myfile

I think

$ myapp -s -- myfile

will work as well, but that needs to be tested.  

The '-s' has to be followed by something won't be confused for an argument, such as nothing, or a flag.
History
Date User Action Args
2021-11-02 22:25:16paul.j3setrecipients: + paul.j3, paolobenve
2021-11-02 22:25:15paul.j3setmessageid: <1635891915.78.0.725646980009.issue45673@roundup.psfhosted.org>
2021-11-02 22:25:15paul.j3linkissue45673 messages
2021-11-02 22:25:15paul.j3create