Description of problem: the hammer cli guide provides a command example to upload a file into a custom product. The example shown will not run as written. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: root@rchplvsetinf55a RedCloak]# hammer repository upload-content --product "SecureWorks RedCloak" --organization-label Santander --id "118" --path /var/www/html/pub/RedCloak/RED_CLOAK_Linux_1.2.5.5_All_Modules.rpm Could not upload the content: Error: Cannot specify both product options and repository ID. See: 'hammer repository upload-content --help'. Expected results: hammer repository upload-content --organization-label Santander --id "118" --path /var/www/html/pub/RedCloak/RED_CLOAK_Linux_1.2.5.5_All_Modules.rpm Successfully uploaded file 'RED_CLOAK_Linux_1.2.5.5_All_Modules.rpm' Additional info: as can be seen in the above examples the use of the product label is unsupported in this command https://access.redhat.com/documentation/en-us/red_hat_satellite/6.4/html/hammer_cli_guide/chap-cli_guide-organizations_locations_repositories#sect-CLI_Guide-Creating_a_Custom_Repository
Thank you for opening this ticket!
Created https://projects.theforeman.org/issues/26059 to update this upstream
These changes are now live on the Customer Portal https://access.redhat.com/documentation/en-us/red_hat_satellite/6.4/html/hammer_cli_guide/chap-cli_guide-organizations_locations_repositories#sect-CLI_Guide-Creating_a_Custom_Repository