summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2018-07-24 20:46:50 +0200
committerAlexander Shpilkin <ashpilkin@gmail.com>2018-07-25 00:37:59 +0200
commit32a5d7629b73b2191d6fd618836fc3b008903d79 (patch)
treed006275c2c7f542b1e11450882956906e47a52fc
parent370f7d5a694940426df64f723170a60e7c32638f (diff)
Fix typo in description of option -d
-rw-r--r--alot/__main__.py2
-rw-r--r--docs/source/usage/cli_options.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/alot/__main__.py b/alot/__main__.py
index 0d100134..b504dd50 100644
--- a/alot/__main__.py
+++ b/alot/__main__.py
@@ -47,7 +47,7 @@ def parser():
help='path to notmuch index')
parser.add_argument('-d', '--debug-level', default='info',
choices=('debug', 'info', 'warning', 'error'),
- help='debug log [default: %(default)s]')
+ help='debug level [default: %(default)s]')
parser.add_argument('-l', '--logfile', default='/dev/null',
action=cargparse.ValidatedStoreAction,
validator=cargparse.optional_file_like,
diff --git a/docs/source/usage/cli_options.rst b/docs/source/usage/cli_options.rst
index 1b6be1a3..d41d7a17 100644
--- a/docs/source/usage/cli_options.rst
+++ b/docs/source/usage/cli_options.rst
@@ -8,8 +8,8 @@
-p PATH, --mailindex-path=PATH
path to notmuch index
-d LEVEL, --debug-level=LEVEL
- debug log (default: info). Must be one of debug, info, warning
- or error
+ debug level (default: info). Must be one of debug, info,
+ warning or error
-l FILENAME, --logfile=FILENAME
logfile (default: /dev/null)
-v, --version Display version string and exit