diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-05-11 17:54:51 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-05-11 17:54:51 +0100 |
commit | c2340e03c6a29e60eed6d593820654900c2118ca (patch) | |
tree | d3e25212d4b1764303dbf802456d501a07bec74b /alot | |
parent | c8701179b05c751b2a5aa5e638a7506044d757ba (diff) |
update docs for tag commands in search mode
Closes #1391
Diffstat (limited to 'alot')
-rw-r--r-- | alot/commands/search.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py index c6c5cab6..80aecb24 100644 --- a/alot/commands/search.py +++ b/alot/commands/search.py @@ -103,10 +103,11 @@ RetagPromptCommand = registerCommand(MODE, 'retagprompt')(RetagPromptCommand) (['--no-flush'], {'action': 'store_false', 'dest': 'flush', 'default': 'True', 'help': 'postpone a writeout to the index'}), - (['--all'], {'action': 'store_true', 'dest': 'allmessages', 'default': - False, 'help': 'retag all messages in search result'}), + (['--all'], {'action': 'store_true', 'dest': 'allmessages', + 'default': False, + 'help': 'tag all messages that match the current search query'}), (['tags'], {'help': 'comma separated list of tags'})], - help='add tags to all messages in the thread that match the current query', + help='add tags to all messages in the selected thread', ) @registerCommand( MODE, 'retag', forced={'action': 'set'}, @@ -114,10 +115,11 @@ RetagPromptCommand = registerCommand(MODE, 'retagprompt')(RetagPromptCommand) (['--no-flush'], {'action': 'store_false', 'dest': 'flush', 'default': 'True', 'help': 'postpone a writeout to the index'}), - (['--all'], {'action': 'store_true', 'dest': 'allmessages', 'default': - False, 'help': 'retag all messages in search result'}), + (['--all'], {'action': 'store_true', 'dest': 'allmessages', + 'default': False, + 'help': 'retag all messages that match the current query'}), (['tags'], {'help': 'comma separated list of tags'})], - help='set tags of all messages in the thread that match the current query', + help='set tags to all messages in the selected thread', ) @registerCommand( MODE, 'untag', forced={'action': 'remove'}, @@ -125,10 +127,11 @@ RetagPromptCommand = registerCommand(MODE, 'retagprompt')(RetagPromptCommand) (['--no-flush'], {'action': 'store_false', 'dest': 'flush', 'default': 'True', 'help': 'postpone a writeout to the index'}), - (['--all'], {'action': 'store_true', 'dest': 'allmessages', 'default': - False, 'help': 'retag all messages in search result'}), + (['--all'], {'action': 'store_true', 'dest': 'allmessages', + 'default': False, + 'help': 'untag all messages that match the current query'}), (['tags'], {'help': 'comma separated list of tags'})], - help='remove tags from all messages in the thread that match the query', + help='remove tags from all messages in the selected thread', ) @registerCommand( MODE, 'toggletags', forced={'action': 'toggle'}, @@ -137,7 +140,7 @@ RetagPromptCommand = registerCommand(MODE, 'retagprompt')(RetagPromptCommand) 'default': 'True', 'help': 'postpone a writeout to the index'}), (['tags'], {'help': 'comma separated list of tags'})], - help='flip presence of tags on this thread: a tag is considered present ' + help='flip presence of tags on the selected thread: a tag is considered present ' 'and will be removed if at least one message in this thread is ' 'tagged with it') class TagCommand(Command): |