File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ func NewCommand() *cobra.Command {
62
62
Long : "Compiles Arduino sketches." ,
63
63
Example : "" +
64
64
" " + os .Args [0 ] + " compile -b arduino:avr:uno /home/user/Arduino/MySketch\n " +
65
- " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=' build.extra_flags=\" -DMY_DEFINE=\" hello world\" \" ' /home/user/Arduino/MySketch\n " +
66
- " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=' build.extra_flags=-DPIN=2 \" -DMY_DEFINE=\" hello world\" \" ' /home/user/Arduino/MySketch\n " +
67
- " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=build.extra_flags=-DPIN=2 --build-property=' compiler.cpp.extra_flags=\" -DSSID=\" hello world\" \" ' -DMY_DEFINE=\" hello world\" ' /home/user/Arduino/MySketch\n " ,
65
+ " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=\" build.extra_flags=\\ \ " -DMY_DEFINE=\\ \ " hello world\\ \" \\ \" \" /home/user/Arduino/MySketch\n " +
66
+ " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=\" build.extra_flags=-DPIN=2 \\ \ " -DMY_DEFINE=\\ \ " hello world\\ \" \\ \" \" /home/user/Arduino/MySketch\n " +
67
+ " " + os .Args [0 ] + " compile -b arduino:avr:uno --build-property=build.extra_flags=-DPIN=2 --build-property=\" compiler.cpp.extra_flags=\\ \ " -DSSID=\\ \ " hello world\\ \" \\ \" \" -DMY_DEFINE=\" hello world\" ' /home/user/Arduino/MySketch\n " ,
68
68
Args : cobra .MaximumNArgs (1 ),
69
69
Run : run ,
70
70
}
You can’t perform that action at this time.
0 commit comments