forked from SUSE/connect-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message if product set more than once
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
- Loading branch information
Showing
1 changed file
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters