mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
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