Description of problem: When I attempt to run spacecmd system_createpackageprofile non-interactively, it produces the following error: # spacecmd system_createpackageprofile pdgllvusgadm01.company.com -n 'pdgllvusgadm01' -d 'pdgllvusgadm01' usage: spacecmd [options] [command] spacecmd: error: no such option: -n Interactively, the command will request the information: Profile Label: pdgllvusgadm01 Description: pdgllvusgadm01 <CTRL-D> Version-Release number of selected component (if applicable): # rpm -qa spacecmd spacecmd-1.9.4-2.el5 How reproducible: Every time Steps to Reproduce: 1. spacecmd system_createpackageprofile pdgllvusgadm01.company.com -n 'pdgllvusgadm01' -d 'pdgllvusgadm01' 2. 3. Actual results: spacecmd: error: no such option: -n Expected results: INFO: Created package profile 'pdgllvusgadm01' Additional info: I have attempted to use double-quotes and modifying the order which I provide the parameters for the command.
Try to use spacecmd system_createpackageprofile -- pdgllvusgadm01.company.com -n 'pdgllvusgadm01' -d 'pdgllvusgadm01' (see man bash)
That was it - I am sorry about that. Is it possible to retract a BZ? I completely forgot about the '--'
No problem, I close this bz.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.