From b20bd31a55265d46daede6aa40030b293e92a296 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 13 Jan 2022 20:58:06 -0800 Subject: [PATCH] [skip-changelog] Correct Google TLD in `certificates flash` example commands Previously, the `arduino-fwuploader certificates flash` example commands in the command line help and "Usage" documentation used the domain `google.cc` for the download of the Google SSL certificate. Although it does work (`google.cc` redirects to `google.com`), I suspect the use of the `.cc` TLD was accidental, originating from the correct use of that TLD for the Arduino certificate domain. The commands are hereby updated to use `google.com`. --- cli/certificates/flash.go | 2 +- docs/usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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