>> pio --version
PlatformIO, version 3.3.1
Here are the command line flags:
pio run --help
Usage: pio-script.py run [OPTIONS]
Options:
-e, --environment TEXT
-t, --target TEXT
--upload-port TEXT
-d, --project-dir PATH
-s, --silent
-v, --verbose
--disable-auto-clean
-h, --help Show this message and exit.
Note that the flag for setting the port (used to be "--port") is now "--upload-port".