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

enable -h as shorthand for --help #1271

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

NichtJens
Copy link
Contributor

This is a tiny improvement that enables the CLI switch -h as shorthand for --help.

I often find myself trying -h, failing and then remembering that specific tools only offer --help. -h is commonly available from CLI tools, argparse has it a default, etc. Thus, it would be nice if pyinfra would allow it too.

Copy link
Member

@Fizzadar Fizzadar left a comment

Choose a reason for hiding this comment

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

Nice, good little win there, thank you @NichtJens!

@Fizzadar Fizzadar merged commit 9873eaf into pyinfra-dev:3.x Feb 5, 2025
23 checks passed
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.

2 participants