fix: typos in commands, deprecation messages
This commit is contained in:
parent
d9a8313b70
commit
d88c376201
@ -141,12 +141,11 @@ def read_args(task_args, check_mode):
|
|||||||
# deprecated cli_cmd option
|
# deprecated cli_cmd option
|
||||||
if task_args.get('cli_cmd', False):
|
if task_args.get('cli_cmd', False):
|
||||||
display.deprecated(
|
display.deprecated(
|
||||||
'"cli_cmd" argument should not be used. Please use '
|
'"cli_cmd" argument should not be used. Please use the '
|
||||||
'"cli_path", "cli_options", "conroller", "user", "password", '
|
'"cli_path", "cli_options", "controller", "user", "password", '
|
||||||
'and "local_auth" arguments instead')
|
'and "local_auth" arguments instead')
|
||||||
cli_command = (
|
cli_command = (
|
||||||
'{} --connect --output-json'
|
'{} --connect --output-json --no-color-output --no-output-paging'
|
||||||
' --no-color-output --no-output-paging'
|
|
||||||
).format(task_args.get('cli_cmd'))
|
).format(task_args.get('cli_cmd'))
|
||||||
|
|
||||||
# desired configuration
|
# desired configuration
|
||||||
@ -154,7 +153,7 @@ def read_args(task_args, check_mode):
|
|||||||
if not config and task_args.get('config_list', False):
|
if not config and task_args.get('config_list', False):
|
||||||
config = task_args.get('config_list')
|
config = task_args.get('config_list')
|
||||||
display.deprecated('"config_list" argument should not be used. '
|
display.deprecated('"config_list" argument should not be used. '
|
||||||
'Please use "config" argument instead')
|
'Please use the "config" argument instead')
|
||||||
|
|
||||||
# validate config argument
|
# validate config argument
|
||||||
if isinstance(config, list):
|
if isinstance(config, list):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user