mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47: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(
|
||||
"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