Skip to content

gh-145990: Sort python --help-xoptions by option name#145991

Merged
gpshead merged 5 commits intopython:mainfrom
gpshead:sort-help-xoptions
Mar 15, 2026
Merged

gh-145990: Sort python --help-xoptions by option name#145991
gpshead merged 5 commits intopython:mainfrom
gpshead:sort-help-xoptions

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Mar 15, 2026

This is --help text which I've decided to call a documentation improvement and thus probably worth backporting to bugfix releases.

@gpshead
Copy link
Member Author

gpshead commented Mar 15, 2026

backports will be manual, removing the labels.

Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gpshead gpshead enabled auto-merge (squash) March 15, 2026 21:41
@gpshead gpshead merged commit b062f39 into python:main Mar 15, 2026
50 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 15, 2026
@gpshead gpshead added the tests Tests in the Lib/test dir label Mar 15, 2026
gpshead added a commit that referenced this pull request Mar 15, 2026
…5993)

* Sort --help-xoptions alphabetically by name.
* add a sorting regression test in test_help_xoptions

manual backport of GH-145991
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir tests Tests in the Lib/test dir

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants