Actions
Bug #4262
closed--organization-id is confusing as it requires the organization name and not its id
Description
Playing with the gpg subcommand I noticed that organization-id, which is a required argument, doesn't take the organization ID value but the organization name, which is definitely bound to cause confusion. Can we change that to either use the ID (the best solution imho) or rename it to organization-name?
[root@qetello03 katello-deploy]# hammer organization list ------------------------------------------------------------------------ ID | NAME | LABEL | DESCRIPTION ------------------------------------------------------------------------ 1 | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization ------------------------------------------------------------------------ [root@qetello03 katello-deploy]# hammer gpg list --organization-id 1 404 Resource Not Found [root@qetello03 katello-deploy]# hammer gpg list --organization-id ACME_Corporation No data.
Actions