From 30f6d456af827d1e2bc75f51629602fd4fa07dc2 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 11 Aug 2016 10:54:28 +0300 Subject: [PATCH] Update platform command --- platformio/telemetry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/telemetry.py b/platformio/telemetry.py index 964cc707..b863f862 100644 --- a/platformio/telemetry.py +++ b/platformio/telemetry.py @@ -118,7 +118,7 @@ class MeasurementProtocol(TelemetryBase): args = [str(s).lower() for s in ctx_args if not str(s).startswith("-")] if not args: return - if args[0] in ("lib", "platforms", "serialports", "settings"): + if args[0] in ("lib", "platform", "serialports", "settings"): cmd_path = args[:2] else: cmd_path = args[:1]