summaryrefslogtreecommitdiff
path: root/alot/__main__.py
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2018-07-22 20:49:00 +0200
committerAlexander Shpilkin <ashpilkin@gmail.com>2018-07-22 20:49:00 +0200
commit8bd881025ee3084e72830f95560e763df03ee2fb (patch)
treec530534098bba4ffffce19b8ef3eca481cad69da /alot/__main__.py
parent765eb323bf3b2aeadff2dc41f0dbd91094eaf7eb (diff)
Respect colour mode set in config file
Terminal colour mode can be set both in the config file and on the command line, but a default value for the command-line option overrode whatever was specified in the config file. Fix this.
Diffstat (limited to 'alot/__main__.py')
-rw-r--r--alot/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/__main__.py b/alot/__main__.py
index 1000f2c9..257eb051 100644
--- a/alot/__main__.py
+++ b/alot/__main__.py
@@ -38,8 +38,8 @@ def parser():
validator=cargparse.require_file,
help='notmuch config')
parser.add_argument('-C', '--colour-mode',
- choices=(1, 16, 256), type=int, default=256,
- help='terminal colour mode [default: %(default)s].')
+ choices=(1, 16, 256), type=int,
+ help='terminal colour mode')
parser.add_argument('-p', '--mailindex-path',
action=cargparse.ValidatedStoreAction,
validator=cargparse.require_dir,