summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Campeas <aurelien.campeas@logilab.fr>2009-09-08 20:09:40 +0200
committerAurelien Campeas <aurelien.campeas@logilab.fr>2009-09-08 20:09:40 +0200
commit4c74a760e2722adea31df2da8cdcb88772d085b5 (patch)
treec196a6d8456fa753b6f285dc1a095c3e62d2290d
parentf819e856e6bd9e09797c2480c310c7e5c51b0f23 (diff)
parentfc1337f5000b3470acabc2ab6ffd0ac32d300bc2 (diff)
downloadlogilab-common-4c74a760e2722adea31df2da8cdcb88772d085b5.tar.gz
merge
-rw-r--r--configuration.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/configuration.py b/configuration.py
index b56c841..969e36d 100644
--- a/configuration.py
+++ b/configuration.py
@@ -432,6 +432,8 @@ class OptionsManagerMixIn(object):
else:
opt_dict['action'] = 'callback'
opt_dict['callback'] = self.cb_set_provider_option
+ if 'choices' in opt_dict:
+ opt_dict['help'] += ': %s' % '|'.join(opt_dict['choices'])
# default is handled here and *must not* be given to optik if you
# want the whole machinery to work
if 'default' in opt_dict: