Skip to content

Commit 0af27d8

Browse files
Gianluca Variscocmaglie
Gianluca Varisco
authored andcommitted
Replaced hardcoded 'arduino' cmd with commands.AppName
1 parent 9a0a10d commit 0af27d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/board/attach.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func initAttachCommand() *cobra.Command {
4040
Use: "attach <port>|<FQBN> [sketchPath]",
4141
Short: "Attaches a sketch to a board.",
4242
Long: "Attaches a sketch to a board.",
43-
Example: " arduino board attach serial:///dev/tty/ACM0\n" +
43+
Example: " " + commands.AppName + " board attach serial:///dev/tty/ACM0\n" +
4444
" " + commands.AppName + " board attach serial:///dev/tty/ACM0 HelloWorld\n" +
4545
" " + commands.AppName + " board attach arduino:samd:mkr1000",
4646
Args: cobra.RangeArgs(1, 2),

0 commit comments

Comments
 (0)