summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index 12746c12a..3724edf55 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -503,6 +503,13 @@ class API(DictProxy):
dest='interactive',
help='Prompt for NO values (even if required)'
)
+ topics = optparse.OptionGroup(parser, "Available help topics",
+ "ipa help topics")
+ cmds = optparse.OptionGroup(parser, "Available commands",
+ "ipa help commands")
+ parser.add_option_group(topics)
+ parser.add_option_group(cmds)
+
return parser
def bootstrap_with_global_options(self, parser=None, context=None):