Skip to content

Commit e595374

Browse files
Gianluca Variscocmaglie
Gianluca Varisco
authored andcommitted
Replaced hardcoded 'arduino' cmd with commands.AppName
1 parent f3b0c34 commit e595374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/board/attach.go

+1-1
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)