summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabe <redhatrises@gmail.com>2015-05-22 09:19:03 -0600
committerJan Cholasta <jcholast@redhat.com>2015-06-02 13:54:36 +0000
commit387be8651c3f407005469681ff05d3874abd6662 (patch)
treef15c2d34045320d7bdeadc8d0b28b38ee6dc57fb
parent943c5391221fdeb6520e60d2f5b04ce41b085169 (diff)
downloadfreeipa-387be8651c3f407005469681ff05d3874abd6662.tar.gz
freeipa-387be8651c3f407005469681ff05d3874abd6662.tar.xz
freeipa-387be8651c3f407005469681ff05d3874abd6662.zip
Allow ipa help command to run when ipa-client-install is not configured
https://fedorahosted.org/freeipa/ticket/3584 Reviewed-By: Martin Basti <mbasti@redhat.com>
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index fc6e23039..398b54863 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -1333,7 +1333,7 @@ def run(api):
api.register(klass)
api.load_plugins()
api.finalize()
- if not 'config_loaded' in api.env:
+ if not 'config_loaded' in api.env and not 'help' in argv:
raise NotConfiguredError()
sys.exit(api.Backend.cli.run(argv))
except KeyboardInterrupt: