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

Fix program name in generated manual page #1049

Merged
merged 1 commit into from
Aug 27, 2023
Merged

Fix program name in generated manual page #1049

merged 1 commit into from
Aug 27, 2023

Conversation

jbrobst
Copy link
Contributor

@jbrobst jbrobst commented Aug 26, 2023

  • I have added an entry to docs/changelog.md

Summary of changes

243c631 caused python scripts/generate_man.py (e.g. via nox -s build_man) to produce a manual page with generate_man.py as the program name. Fix this by changing sys.argv[0] to pipx before creating the parser.

Test plan

AFAICT scripts/generate_man.py is not currently tested.

@dukecat0 dukecat0 merged commit ac65e1d into pypa:main Aug 27, 2023
11 checks passed
@dukecat0
Copy link
Member

Thanks!

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.

None yet

2 participants