forked from platformio/platformio-core
Do not show duplicated upload protocols
This commit is contained in:
@@ -220,7 +220,7 @@ def PrintUploadInfo(env):
|
|||||||
available.extend(env.BoardConfig().get("upload", {}).get(
|
available.extend(env.BoardConfig().get("upload", {}).get(
|
||||||
"protocols", []))
|
"protocols", []))
|
||||||
if available:
|
if available:
|
||||||
print "AVAILABLE: %s" % ", ".join(sorted(available))
|
print "AVAILABLE: %s" % ", ".join(sorted(set(available)))
|
||||||
if configured:
|
if configured:
|
||||||
print "CURRENT: upload_protocol = %s" % configured
|
print "CURRENT: upload_protocol = %s" % configured
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user