Project

General

Profile

Actions

Bug #18352

closed

`hammer content-view remove` has unnecessary option `--content-view-version-content-view-ids`

Added by Andrew Kofink almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1416862
Description of problem:
The option `--content-view-version-content-view-ids` is not needed and can be specified with `--id` or `--name`.

Version-Release number of selected component (if applicable):
6.3.0
How reproducible:
Always
Steps to Reproduce:
1. `hammer content-view remove -h`
2. `hammer content-view remove --content-view-versions '1.2,3.0,4.6' --id 1`
3.
Actual results:
(1.) The option `--content-view-version-content-view-ids` is listed, and (2.) the following error is shown:
Could not remove objects from content view:
Error: Could not find content_view_version, please set one of options --content-view-versions, --content-view-version-content-view-ids.
Expected results:
(1.) The option `--content-view-version-content-view-ids` is not listed, and (2.) the content view versions are removed from the content view.
Additional info:
Actions

Also available in: Atom PDF