Bug 1195106

Summary: Go version of SUSEConnect: do not use abbreviated options like --clean
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP4 Reporter: Tanja Roth <taroth>
Component: Release NotesAssignee: Lukas Kucharczyk <lukas.kucharczyk>
Status: RESOLVED FIXED QA Contact: Stefan Knorr <sknorr>
Severity: Normal    
Priority: P4 - Low    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: No
Marketing QA Status: --- IT Deployment: ---

Description Tanja Roth 2022-01-25 16:59:11 UTC
+++ This bug was initially created as a clone of Bug #1195002 +++

(copying from https://bugzilla.suse.com/show_bug.cgi?id=1195002#c3)


"options like --clean and --list or -l only worked due to the way Ruby parses option, but they weren't officially supported or documented. For -l (reported in https://bugzilla.suse.com/show_bug.cgi?id=1195006) I agree that this would be a sensible decision to add, but in regards to --clean I advise to adjust the test cases to use the documented --cleanup.

To avoid that user run into any kind of trouble, in case they adopted this wrong parameter, we might want to think about documenting this in the Release Notes."
Comment 1 Stefan Weiberg 2022-01-26 10:59:19 UTC
As requested by Tanja adding a comment here, that this needs to be documented in the RN for Public Beta.

Meanwhile a --clean and -l parameter has been added to the next SUSEConnect-ng update, but we should still mention that abbreviations not mentioned in 'SUSEConnect --help' are not supported.