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