Skip to content

Commit

Permalink
examples in commands are not correct (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
umbynos committed Aug 3, 2021
1 parent 5eb1f23 commit 15efd7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cli/certificates/flash.go
Expand Up @@ -54,9 +54,9 @@ func NewFlashCommand() *cobra.Command {
Short: "Flashes certificates to board.",
Long: "Flashes specified certificates to board at specified address.",
Example: "" +
" " + os.Args[0] + " flash --fqbn arduino:samd:mkr1000 --address COM10 --url arduino.cc:443 --file /home/me/Digicert.cer\n" +
" " + os.Args[0] + " flash -b arduino:samd:mkr1000 -a COM10 -u arduino.cc:443 -u google.cc:443\n" +
" " + os.Args[0] + " flash -b arduino:samd:mkr1000 -a COM10 -f /home/me/VeriSign.cer -f /home/me/Digicert.cer\n",
" " + 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 -f /home/me/VeriSign.cer -f /home/me/Digicert.cer\n",
Args: cobra.NoArgs,
Run: run,
}
Expand Down
6 changes: 3 additions & 3 deletions cli/firmware/flash.go
Expand Up @@ -55,9 +55,9 @@ func NewFlashCommand() *cobra.Command {
Short: "Flashes firmwares to board.",
Long: "Flashes specified module firmware to board at specified address. Module name and version can be omitted to install latest version.",
Example: "" +
" " + os.Args[0] + " flash --fqbn arduino:samd:mkr1000 --address COM10 --module WINC1500@19.5.2\n" +
" " + os.Args[0] + " flash -b arduino:samd:mkr1000 -a COM10 -m WINC15000\n" +
" " + os.Args[0] + " flash -b arduino:samd:mkr1000 -a COM10\n",
" " + os.Args[0] + " firmware flash --fqbn arduino:samd:mkr1000 --address COM10 --module WINC1500@19.5.2\n" +
" " + os.Args[0] + " firmware flash -b arduino:samd:mkr1000 -a COM10 -m WINC15000\n" +
" " + os.Args[0] + " firmware flash -b arduino:samd:mkr1000 -a COM10\n",
Args: cobra.NoArgs,
Run: run,
}
Expand Down

0 comments on commit 15efd7f

Please sign in to comment.