diff options
author | Mark McLoughlin <markmc@redhat.com> | 2012-02-22 21:04:11 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2012-02-23 06:20:40 +0000 |
commit | 1f119bc91f178df43f1cec6df3247f6f6a4e0c36 (patch) | |
tree | c407593df7e1cea35e789f182f1daec98af3d0e0 /keystone/openstack | |
parent | 762b461720fced80435de818f9f843ced5059035 (diff) | |
download | keystone-1f119bc91f178df43f1cec6df3247f6f6a4e0c36.tar.gz keystone-1f119bc91f178df43f1cec6df3247f6f6a4e0c36.tar.xz keystone-1f119bc91f178df43f1cec6df3247f6f6a4e0c36.zip |
Use cfg's new print_help() method
Change-Id: Ib8e5dc50bc9773d13b8d9c741676477aa0f001e0
Diffstat (limited to 'keystone/openstack')
-rw-r--r-- | keystone/openstack/common/cfg.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keystone/openstack/common/cfg.py b/keystone/openstack/common/cfg.py index 92eecf30..e92a574a 100644 --- a/keystone/openstack/common/cfg.py +++ b/keystone/openstack/common/cfg.py @@ -962,6 +962,10 @@ class ConfigOpts(collections.Mapping): """Print the usage message for the current program.""" self._oparser.print_usage(file) + def print_help(self, file=None): + """Print the help message for the current program.""" + self._oparser.print_help(file) + def _get(self, name, group=None): """Look up an option value. |