-
-
Notifications
You must be signed in to change notification settings - Fork 32k
argparse incorrectly shows help string on a new line in case of long command string #87041
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
Comments
Mannequin
Author
Steps to reproduce. Run the attached script:
The output is:
Expected output is:
|
This issue is discussed in: https://bugs.python.org/issue34724 and |
savannahostrowski
added a commit
to savannahostrowski/cpython
that referenced
this issue
Sep 19, 2024
savannahostrowski
added a commit
to savannahostrowski/cpython
that referenced
this issue
Sep 23, 2024
serhiy-storchaka
pushed a commit
that referenced
this issue
Sep 23, 2024
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. Co-authored-by: Pavel Ditenbir <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 23, 2024
…124230) 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. (cherry picked from commit 7ee9921) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Pavel Ditenbir <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 23, 2024
…124230) 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. (cherry picked from commit 7ee9921) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Pavel Ditenbir <[email protected]>
This was referenced Sep 23, 2024
serhiy-storchaka
pushed a commit
that referenced
this issue
Sep 23, 2024
… (GH-124374) 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. (cherry picked from commit 7ee9921) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Pavel Ditenbir <[email protected]>
Yhg1s
pushed a commit
that referenced
this issue
Sep 30, 2024
… (#124373) GH-87041: Fix incorrect indentation in argparse help (GH-124230) 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. (cherry picked from commit 7ee9921) Co-authored-by: Savannah Ostrowski <[email protected]> Co-authored-by: Pavel Ditenbir <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: