summaryrefslogtreecommitdiff
path: root/alot/commands/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/commands/envelope.py')
-rw-r--r--alot/commands/envelope.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index f37195db..59d1159f 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -21,7 +21,9 @@ from alot.commands.globals import EnvelopeOpenCommand
MODE = 'envelope'
-@registerCommand(MODE, 'attach', {})
+@registerCommand(MODE, 'attach', arguments=[
+ (['path'], {'help':'file(s) to attach'})]
+)
class EnvelopeAttachCommand(Command):
def __init__(self, path=None, mail=None, **kwargs):
Command.__init__(self, **kwargs)