Good catch! There's a test case that checks the usage message is displayed as expected, so that will need to be updated appropriately (the purpose of that test is to check that pdb._usage is displayed as expected, rather than to check the contents of pdb._usage, so it would be reasonable to update the test case to re-use the module global and avoid the need to update it in two places).
The reason will be displayed to describe this comment to others. Learn more.
I think this will be clearer as two sentences: "Debug the Python program given by pyfile. Alternatively, an executable module or package to debug can be specified using the -m switch."
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the usage to include the new option. Sorry @ncoghlan, I totally missed it in the previous PR
If you think it is not important/not worth it I am happy to just close it.
https://bugs.python.org/issue32206