diff --git a/wildfly.py b/wildfly.py index 1aa3a9b..a77f097 100644 --- a/wildfly.py +++ b/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,20 +141,19 @@ 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' - ).format(task_args.get('cli_cmd')) + '{} --connect --output-json --no-color-output --no-output-paging' + ).format(task_args.get('cli_cmd')) # desired configuration config = task_args.get('config', False) 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):