Project

General

Profile

Bug #5070

Updated by Mike McCune almost 11 years ago

is this operator error? 

 <pre> 
 # hammer content-view add-repository --organization-id=DemoOrg --name=RHEL6 --repository="Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" 
 Could not add repository: 
   Error: Unrecognised option '--organization-id' 

   See: 'hammer content-view add-repository --help' 

 # hammer content-view add-repository    --name=RHEL6 --repository="Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" 
 Could not add repository: 
   One of parameters [ organization_id ] required but not specified. 
 </pre> 

 


 tried with _ 

 <pre> 
 # hammer content-view add-repository --organization_id=DemoOrg --name=RHEL6 --repository="Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server" 
 Could not add repository: 
   Error: Unrecognised option '--organization_id' 

   See: 'hammer content-view add-repository --help' 
 </pre> 

 help shows: 

 <pre> 
 


 # hammer content-view add-repository --help 
 Usage: 
     hammer content-view add-repository [OPTIONS] 

 Options: 
     --id ID                         resource id 
     --name NAME                     resource name 
     --repository REPOSITORY 
     --repository-id REPOSITORY_ID 
     -h, --help                      print help 
 </pre> 


 

 ???? 

Back