summaryrefslogtreecommitdiff
path: root/alot/commands
diff options
context:
space:
mode:
authorAntoine Amarilli <a3nm@a3nm.net>2012-09-29 21:28:01 +0200
committerAntoine Amarilli <a3nm@a3nm.net>2012-09-29 21:31:23 +0200
commite06ea39459db4396db44d32eff94038986823890 (patch)
tree920be4aff2f363aba02be0b0b432a6d306f3e52d /alot/commands
parent27c91058c49d8755d2813d5b78094f40f36ec905 (diff)
Make pipeto work with multiple word commands
Diffstat (limited to 'alot/commands')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 43d6e9c8..deed04b2 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -388,7 +388,7 @@ class ChangeDisplaymodeCommand(Command):
@registerCommand(MODE, 'pipeto', arguments=[
- (['cmd'], {'help':'shellcommand to pipe to'}),
+ (['cmd'], {'help':'shellcommand to pipe to', 'nargs': '+'}),
(['--all'], {'action': 'store_true', 'help':'pass all messages'}),
(['--format'], {'help':'output format', 'default':'raw',
'choices':['raw', 'decoded', 'id', 'filepath']}),