Update platform command

This commit is contained in:
Ivan Kravets
2016-08-11 10:54:28 +03:00
parent d3e2b2bde4
commit 30f6d456af

View File

@ -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]