summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 59abc3b15..74c43b590 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -1051,10 +1051,10 @@ class cli(backend.Executioner):
if cmd is None:
return
name = cmd.name
+ kw = self.argv_to_keyword_arguments(cmd, argv[1:])
if not isinstance(cmd, frontend.Local):
self.create_context()
try:
- kw = self.argv_to_keyword_arguments(cmd, argv[1:])
result = self.execute(name, **kw)
if callable(cmd.output_for_cli):
for param in cmd.params():