From 4ead3f0570bd9531204678cec15f70bec81c46b6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 10 Oct 2016 18:30:58 +0300 Subject: [PATCH] Pass all options to remote serial monitor --- platformio/commands/remote.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio/commands/remote.py b/platformio/commands/remote.py index 56705634..a92ff0b2 100644 --- a/platformio/commands/remote.py +++ b/platformio/commands/remote.py @@ -245,7 +245,8 @@ def _device_monitor(ctx, **kwargs): sleep(0.1) if not t.is_alive(): return - ctx.invoke(cmd_device_monitor, port=open(sock_file).read()) + kwargs['port'] = open(sock_file).read() + ctx.invoke(cmd_device_monitor, **kwargs) t.join(2) finally: util.rmtree_(sock_dir)