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

case sensitive for specific command args and flags #2390

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

wjiec
Copy link
Contributor

@wjiec wjiec commented Dec 26, 2023

this PR fixes #2389.

@wjiec
Copy link
Contributor Author

wjiec commented Dec 26, 2023

Maybe not the best solution, what do you think would be a better way to fix it?

Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@wjiec Thank you Jayson for this fix! I think tho less than ideal for this one use case, this is ok as it should be the responsibility of args parser to figure out casing.
The main thing here is to ensure the cmd gets lowered as well as anything else beside context names which you've covered here.

@derailed derailed merged commit 27cc859 into derailed:master Dec 26, 2023
@derailed derailed mentioned this pull request Dec 26, 2023
@wjiec wjiec deleted the bugfix/cmd-caps branch December 27, 2023 01:32
thejoeejoee pushed a commit to thejoeejoee/k9s that referenced this pull request Feb 23, 2024
placintaalexandru pushed a commit to placintaalexandru/k9s that referenced this pull request Apr 3, 2024
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.

Mixed-case named contexts cannot be switched to from contexts view
2 participants