Commit 0af27d8b authored by Gianluca Varisco's avatar Gianluca Varisco Committed by Cristian Maglie

Replaced hardcoded 'arduino' cmd with commands.AppName

parent 9a0a10d8
......@@ -40,7 +40,7 @@ func initAttachCommand() *cobra.Command {
Use: "attach <port>|<FQBN> [sketchPath]",
Short: "Attaches a sketch to a board.",
Long: "Attaches a sketch to a board.",
Example: " arduino board attach serial:///dev/tty/ACM0\n" +
Example: " " + commands.AppName + " board attach serial:///dev/tty/ACM0\n" +
" " + commands.AppName + " board attach serial:///dev/tty/ACM0 HelloWorld\n" +
" " + commands.AppName + " board attach arduino:samd:mkr1000",
Args: cobra.RangeArgs(1, 2),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment