Bug 825273

Summary: subscription-manager release --set should only allow entries from --list
Product: Red Hat Enterprise Linux 5 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: William Poteat <wpoteat>
Status: CLOSED DUPLICATE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: awood
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-04 18:18:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 771748, 827225    

Description Matt Reid 2012-05-25 14:13:23 UTC
Version -
subscription-manager-1.0.2-1.git.2.2b23e6e

Right now, I can enter subscription-manager release --set=6Sever or anything at all and subscription-manager will act like its fine and understands a release of HIHOWareyou. 

Can we add logic to only allow strings that --list can output?

If they enter something wrong or misspelled, we could return a message of - "Unrecognized release, please use subscription-manager release --list to see a listing of available release versions".

Comment 1 Alex Wood 2012-06-04 18:18:54 UTC

*** This bug has been marked as a duplicate of bug 818205 ***