From c2340e03c6a29e60eed6d593820654900c2118ca Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Sat, 11 May 2019 17:54:51 +0100 Subject: update docs for tag commands in search mode Closes #1391 --- alot/commands/search.py | 23 +++++++++++++---------- 1 file 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): -- cgit v1.2.3