diff options
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index a51464d8..6c3b58b5 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -310,7 +310,10 @@ class PrintCommand(PipeCommand): done_msg=ok_msg, **kwargs) -@registerCommand(MODE, 'save', {}) +@registerCommand(MODE, 'save', arguments=[ + (['--all'], {'action': 'store_true', 'help':'save all attachments'}), + (['path'], {'nargs':'?', 'help':'path to save to'})] +) class SaveAttachmentCommand(Command): def __init__(self, all=False, path=None, **kwargs): Command.__init__(self, **kwargs) |