Actions
Bug #15540
closedUnable to remove repo content using repo name through hammer
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1349646
Description of problem:
Unable to remove content from a custom repo using the repo name.
Version-Release number of selected component (if applicable):
6.2
How reproducible:
Try to remove content repo content using repo name
Steps to Reproduce:
1. hammer repository remove-content --name test --content-ids 12345 --organization-id X
2. Same command works if name is substituted by the repository id
3. hammer repository remove-content --id Y --content-ids 12345 --organization-id X
Actual results:
Could not remove content:
Error: Unknown option name 'option_product_name'
Expected results:
Repository content removed
Actions