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

Improve error message if product set more than once #172

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

djoreilly
Copy link
Collaborator

On registration and deregistration the product flag (-p/--product) is only supposed to be used once. But this is not enforced and the error message from the server is not clear about what the user did wrong. This patch enforces the one product rule at flag parse time and prints a better message.

#171

On registration and deregistration the product flag (-p/--product)
is only supposed to be used once. But this is not enforced and the
error message from the server is not clear about what the user did
wrong. This patch enforces the one product rule at flag parse time
and prints a better message.

SUSE#171
@digitaltom digitaltom merged commit 9156496 into SUSE:main Jul 7, 2023
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