diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-08 18:38:15 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-08 18:38:15 +0000 |
commit | 3137d5eb89294db4f3ba2fba7c8bd2f4ac53003a (patch) | |
tree | 955ca12d5fd4dd67717f749f47ea92f23adaa89e /alot | |
parent | e5d2f3bfaf0bbe72aa23d5134b2a446b7e31b4c8 (diff) |
add helpstrings for individual decorations
of thread.Tagcommand.
Diffstat (limited to 'alot')
-rw-r--r-- | alot/commands/thread.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index ee0c2416..b13d8ea5 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -622,16 +622,24 @@ class ThreadSelectCommand(Command): @registerCommand(MODE, 'tag', forced={'action': 'add'}, arguments=[ (['--all'], {'action': 'store_true', 'help':'tag all messages in thread'}), - (['tags'], {'help':'comma separated list of tags'})]) + (['tags'], {'help':'comma separated list of tags'})], + help='add tags to message(s)', +) @registerCommand(MODE, 'retag', forced={'action': 'set'}, arguments=[ (['--all'], {'action': 'store_true', 'help':'tag all messages in thread'}), - (['tags'], {'help':'comma separated list of tags'})]) + (['tags'], {'help':'comma separated list of tags'})], + help='set message(s) tags.', +) @registerCommand(MODE, 'untag', forced={'action': 'remove'}, arguments=[ (['--all'], {'action': 'store_true', 'help':'tag all messages in thread'}), - (['tags'], {'help':'comma separated list of tags'})]) + (['tags'], {'help':'comma separated list of tags'})], + help='remove tags from message(s)', +) @registerCommand(MODE, 'toggletags', forced={'action': 'toggle'}, arguments=[ (['--all'], {'action': 'store_true', 'help':'tag all messages in thread'}), - (['tags'], {'help':'comma separated list of tags'})]) + (['tags'], {'help':'comma separated list of tags'})], + help='flip presence of tags on message(s)', +) class TagCommand(Command): """manipulate message tags""" def __init__(self, tags=u'', action='add', all=False, **kwargs): |