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

(PUP-11693) Update behavior when partial argument match detected #9323

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

AriaXLi
Copy link
Contributor

@AriaXLi AriaXLi commented Apr 16, 2024

This commit updates the Global OptionParser (Trollop) to only warn when the passed in argument partially matches a valid global option. Additionally, the warning is more descriptive now and includes the argument given and the correct global option.

This commit updates the Global OptionParser (Trollop) to only warn when the
passed in argument partially matches a valid global option. Additionally, the
warning is more descriptive now and includes the argument given and the correct
global option.
@AriaXLi AriaXLi requested a review from a team as a code owner April 16, 2024 21:44
@joshcooper joshcooper merged commit 8148824 into puppetlabs:main Apr 16, 2024
9 checks passed
@AriaXLi AriaXLi deleted the update_option_parser branch April 16, 2024 22:50
@joshcooper joshcooper added the bug Something isn't working label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants