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(
|
||||
"protocols", []))
|
||||
if available:
|
||||
print "AVAILABLE: %s" % ", ".join(sorted(available))
|
||||
print "AVAILABLE: %s" % ", ".join(sorted(set(available)))
|
||||
if configured:
|
||||
print "CURRENT: upload_protocol = %s" % configured
|
||||
|
||||
|
Reference in New Issue
Block a user