KEMBAR78
gh-91818: Use default program name in the CLI of many modules by serhiy-storchaka · Pull Request #124867 · python/cpython · GitHub
Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 1, 2024

As argparse now detects by default when the code was run as a module.

This leads to using the actual executable name instead of simply "python" to display in the usage message ("usage: python -m ...").

As argparse now detects by default when the code was run as a module.

This leads to using the actual executable name instead of simply "python"
to display in the usage message ("usage: python -m ...").
@serhiy-storchaka serhiy-storchaka merged commit 7d2c397 into python:main Oct 9, 2024
37 checks passed
@serhiy-storchaka serhiy-storchaka deleted the stdlib-cli-progname branch October 9, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants