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

Simplify --no-bots CLI option #1340

Merged
merged 1 commit into from
May 7, 2024
Merged

Simplify --no-bots CLI option #1340

merged 1 commit into from
May 7, 2024

Conversation

o2sh
Copy link
Owner

@o2sh o2sh commented May 7, 2024

From Option<Option<MyRegex>> to Option<MyRegex>

Taking advantage of clap's default_missing_value feature

Change in usage with value:

Before -> onefetch --no-bots REGEX
Now -> onefetch --no-bots=REGEX

onefetch --no-bots without value uses the default regex pattern as before

@o2sh o2sh merged commit 2bc5aed into main May 7, 2024
9 checks passed
@o2sh o2sh deleted the chore/simplify-no-bots branch May 7, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants