summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-14 01:45:30 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-14 01:45:30 -0600
commit1480224724864cb7cf34c9be755b905c61f885b9 (patch)
tree6a5a5deede0e721d8484fe770d62ee53029097d0 /ipalib/cli.py
parent20fa90cfb6e954040de47551762dfbb7680dba51 (diff)
downloadfreeipa-1480224724864cb7cf34c9be755b905c61f885b9.tar.gz
freeipa-1480224724864cb7cf34c9be755b905c61f885b9.tar.xz
freeipa-1480224724864cb7cf34c9be755b905c61f885b9.zip
Started roughing out user_add() using api.Backend.ldap; added Command.output_for_cli() to take care of formatting print output
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 5bebc88d..5dd2c44f 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -302,7 +302,7 @@ class CLI(object):
break
except errors.ValidationError, e:
error = e.error
- cmd(**kw)
+ cmd.output_for_cli(cmd(**kw))
def parse(self, cmd, argv):
parser = self.build_parser(cmd)