mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
cli: remove --id flag from awx <resource> list
see: https://github.com/ansible/awx/issues/4563
This commit is contained in:
parent
e19035079e
commit
f9230d9879
@ -72,6 +72,10 @@ class ResourceOptionsParser(object):
|
||||
help_text = param.get('help_text', '')
|
||||
|
||||
if method == 'list':
|
||||
if k == 'id':
|
||||
# don't allow `awx <resource> list` to filter on `--id`
|
||||
# it's weird, and that's what awx <resource> get is for
|
||||
continue
|
||||
help_text = 'only list {} with the specified {}'.format(
|
||||
self.resource,
|
||||
k
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user