From e06ea39459db4396db44d32eff94038986823890 Mon Sep 17 00:00:00 2001 From: Antoine Amarilli Date: Sat, 29 Sep 2012 21:28:01 +0200 Subject: Make pipeto work with multiple word commands --- alot/commands/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot') 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']}), -- cgit v1.2.3