Skip to content

Improve error message if product set more than once#172

Merged
digitaltom merged 1 commit intoSUSE:mainfrom
djoreilly:product-flag
Jul 7, 2023
Merged

Improve error message if product set more than once#172
digitaltom merged 1 commit intoSUSE:mainfrom
djoreilly:product-flag

Conversation

@djoreilly
Copy link
Copy Markdown
Contributor

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