Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-87041: Fix incorrect indentation in argparse help #124230

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Sep 19, 2024

This PR effectively re-opens #24177, which appears to be the correct fix but never got reviewed (I'm in the process of cleaning up some argparse bugs and noticed the corresponding issue still open).

DiPaolo and others added 5 commits September 18, 2024 20:25
In case of usage a long command along with max_help_position more than the length of the command, the command's help was incorrectly started on the new line
@savannahostrowski savannahostrowski changed the title bpo-42875: fix incorrect indent of long sub-commands GH-87041: fix incorrect indent of long sub-commands Sep 19, 2024
@savannahostrowski savannahostrowski changed the title GH-87041: fix incorrect indent of long sub-commands GH-87041: Fix incorrect indentation in argparse help Sep 19, 2024
@savannahostrowski savannahostrowski added 3.12 bugs and security fixes 3.13 bugs and security fixes needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes and removed 3.12 bugs and security fixes 3.13 bugs and security fixes labels Sep 19, 2024
…x7Bv.rst

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants