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

fix: make arguments mutually exclusive #1552

Merged
merged 1 commit into from
Jan 12, 2022
Merged

fix: make arguments mutually exclusive #1552

merged 1 commit into from
Jan 12, 2022

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Jan 10, 2022

The command line argumens --only-post and --only-sector-update are mutually
exclusive. With this commit you'll get an error message if both are used at the
same time:

error: The argument '--only-sector-update' cannot be used with one or more of the other specified arguments

USAGE:
    paramcache --api-version <SEMANTIC VERSION> <--only-post|--only-sector-update>

For more information try --help

The command line argumens `--only-post` and `--only-sector-update` are mutually
exclusive. With this commit you'll get an error message if both are used at the
same time:

    error: The argument '--only-sector-update' cannot be used with one or more of the other specified arguments

    USAGE:
        paramcache --api-version <SEMANTIC VERSION> <--only-post|--only-sector-update>

    For more information try --help
@vmx vmx merged commit 922cafc into master Jan 12, 2022
@vmx vmx deleted the paramcache-exclusive branch January 12, 2022 12:51
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