Actions
Bug #5070
closedCan't add repos to a content view by name
Description
is this operator error?
# 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.
tried with _
# 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'
help shows:
# 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
????
Actions