diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-10-07 10:18:38 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2009-10-07 10:18:38 +0200 |
commit | 84857022d1650df32583243b3c6d75090b5cc3aa (patch) | |
tree | 862016f7d7e548097e1abfed4f800acffeb77e2b | |
parent | 1b234a7ee5cdfad43e6b40e15ddaa995af72a030 (diff) | |
download | logilab-common-84857022d1650df32583243b3c6d75090b5cc3aa.tar.gz |
dont hack help if choices provided
-rw-r--r-- | configuration.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/configuration.py b/configuration.py index f24a99d..539fa9c 100644 --- a/configuration.py +++ b/configuration.py @@ -446,8 +446,6 @@ 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: |