File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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 {
6262 Long : "Compiles Arduino sketches." ,
6363 Example : "" +
6464 " " + 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\"\"" /home/user/Arduino/MySketch` + " \n " ,
6868 Args : cobra .MaximumNArgs (1 ),
6969 Run : run ,
7070 }
You can’t perform that action at this time.
0 commit comments