Removed useless '--name' in audit-template-list

This bug outlined that a --name option of the audit-template-list
subcommand was not working properly. But the goal of this command
would have been equivalent to using 'audit-template-show'. That's
why I simply removed it from our client.

Change-Id: I57bb0c88bcf373304e59109cd7557052ef7a980b
Closes-Bug: #1510190
This commit is contained in:
Vincent Francoise 2016-02-11 15:21:42 +01:00
parent b30fad9965
commit 51a3b3fe3f

@ -45,10 +45,6 @@ def do_audit_template_show(cc, args):
action='store_true',
default=False,
help="Show detailed information about audit templates.")
@cliutils.arg(
'--name',
metavar='<name>',
help='Only show information for the audit template with this name.')
@cliutils.arg(
'--goal',
metavar='<goal>',
@ -73,8 +69,6 @@ def do_audit_template_list(cc, args):
"""List the audit templates."""
params = {}
if args.name is not None:
params['name'] = args.name
if args.goal is not None:
params['goal'] = args.goal
if args.detail: