diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-01-08 13:36:21 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-01-08 15:23:16 +0100 |
commit | 79ed2e0f088d0b374f5dbed12051770236268238 (patch) | |
tree | 96b8cb9e94425115759aaa97f324c2ac0c5c4a2b /gbp-pull | |
parent | fc1d47d222e76e1c89b8c022f7f285bddbc17f96 (diff) |
Use tristate option for --color=value
this allows true and false as alias for on and off.
Diffstat (limited to 'gbp-pull')
-rwxr-xr-x | gbp-pull | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ def main(argv): branch_group.add_boolean_config_file_option(option_name="pristine-tar", dest="pristine_tar") parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="verbose command execution") - parser.add_config_file_option(option_name="color", dest="color") + parser.add_config_file_option(option_name="color", dest="color", type='tristate') (options, args) = parser.parse_args(argv) |