diff --git a/cli/certificates/flash.go b/cli/certificates/flash.go index fee14c94..9ba1662f 100644 --- a/cli/certificates/flash.go +++ b/cli/certificates/flash.go @@ -50,7 +50,7 @@ func NewFlashCommand() *cobra.Command { Long: "Flashes specified certificates to board at specified address.", Example: "" + " " + os.Args[0] + " certificates flash --fqbn arduino:samd:mkr1000 --address COM10 --url arduino.cc:443 --file /home/me/Digicert.cer\n" + - " " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.cc:443\n" + + " " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.com:443\n" + " " + os.Args[0] + " certificates flash -b arduino:samd:mkr1000 -a COM10 -f /home/me/VeriSign.cer -f /home/me/Digicert.cer\n", Args: cobra.NoArgs, Run: runFlash, diff --git a/docs/usage.md b/docs/usage.md index a0df3972..36a1ead3 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -71,7 +71,7 @@ You can also use the `--format json` flag to parse the output with more ease. The tool offers also the ability to flash SSL certificates to a module: ``` -./arduino-fwuploader certificates flash -b arduino:samd:nano_33_iot" -a COM10 -u arduino.cc:443 -u google.cc:443 +./arduino-fwuploader certificates flash -b arduino:samd:nano_33_iot" -a COM10 -u arduino.cc:443 -u google.com:443 ``` or you can specify a path to a file with `-f` instead of the URL of the certificate