diff options
| author | David Soto | 2013-01-23 20:07:53 +0100 |
|---|---|---|
| committer | David Soto | 2013-01-23 20:07:53 +0100 |
| commit | d765fb012fcc068b7e7803a149e117b1cc1a2589 (patch) | |
| tree | 367093e102e03a20dde2a6d4ab0b7b731be6d395 /src/mailman/commands/cli_mailmanconf.py | |
| parent | 44c03cb98722571f9f83c91a347d829f666b513f (diff) | |
| download | mailman-d765fb012fcc068b7e7803a149e117b1cc1a2589.tar.gz mailman-d765fb012fcc068b7e7803a149e117b1cc1a2589.tar.zst mailman-d765fb012fcc068b7e7803a149e117b1cc1a2589.zip | |
Diffstat (limited to 'src/mailman/commands/cli_mailmanconf.py')
| -rw-r--r-- | src/mailman/commands/cli_mailmanconf.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_mailmanconf.py b/src/mailman/commands/cli_mailmanconf.py index 1da9095fc..f29781473 100644 --- a/src/mailman/commands/cli_mailmanconf.py +++ b/src/mailman/commands/cli_mailmanconf.py @@ -52,10 +52,17 @@ class Mailmanconf: used.""")) command_parser.add_argument( '-s', '--section', - action='store', help=_("Section to use for the lookup (optional).")) + action='store', help=_("""\ + Section to use for the lookup. If no key is given, + all the key-value pairs of the given section will be displayed. + """)) command_parser.add_argument( '-k', '--key', - action='store', help=_("Key to use for the lookup (optional).")) + action='store', help=_("""\ + Key to use for the lookup. If no section is given, + all the key-values pair from any section matching the given key + will be displayed. + """)) def _get_value(self, section, key): return getattr(getattr(config, section), key) |
