added constraint for space in composer command
This commit is contained in:
parent
662fa86f07
commit
ae18a1d877
1 changed files with 3 additions and 0 deletions
|
@ -170,6 +170,9 @@ def main():
|
|||
|
||||
# Get composer command with fallback to default
|
||||
command = module.params['command']
|
||||
if re.search(r"\s", command):
|
||||
module.fail_json(msg="Use the 'arguments' param for passing arguments with the 'command'")
|
||||
|
||||
arguments = module.params['arguments']
|
||||
available_options = get_available_options(module=module, command=command)
|
||||
|
||||
|
|
Loading…
Reference in a new issue