-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.15.0, 6.16.0
-
False
-
Moderate
-
sat-artemis
-
None
-
None
-
None
-
To Do
The hammer command should elaborate on the issue with the types if the argument is required "--content-type".
For Example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Invalid content-type. Valid content-types are: a, b, c, or d
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Also, we tried adding the flag --content-type with ansible_collection,docker,file,yum.
- hammer content-units list --content-type yum
--|----|-------|--------
ID | NAME | VERSION | FILENAME
--|----|-------|--------
- hammer content-units list --content-type --help
--|----|-------|--------
ID | NAME | VERSION | FILENAME
--|----|-------|--------
- hammer content-units list --content-type
Missing arguments for '--content-type'.
- hammer content-units list
Missing arguments for '--content-type'.
- hammer content-units list --content-type
Missing arguments for '--content-type'.
- hammer content-units list --content-view-id 2
Missing arguments for '--content-type'.
- hammer content-units list --content-view-id 2 --content-type
Missing arguments for '--content-type'.