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

Added .lower() at end of output_format #12

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

LackOfMorals
Copy link
Collaborator

If a CLI user uses a capital letter in the output format option, it triggers an exception as it's not recognised

As there's no functionality impact from a user doing this, and it could be common e.g using Json instead of json, then changing output_format to be lower case for the comparison is a quick win for an improved user experience.

If a CLI user uses a capital letter in the output format option, it triggers an exception as it's not recognised

As there's no functionality impact from a user doing this, and it could be common e.g using Json instead of json, then changing output_format to be lower case for the comparison is a quick win for an improved user experience.
Copy link
Collaborator

@danielruminski danielruminski left a comment

Choose a reason for hiding this comment

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

Nice improvement!

@jexp jexp merged commit 1e8c926 into master Sep 20, 2023
3 checks passed
@danielruminski danielruminski deleted the LackOfMorals-patch-1 branch October 4, 2023 14:29
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