Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6138864

Browse files
authored
Correct key name in arduino-cli compile --dump-profile output (#1846)
The `--dump-profile` flag causes Arduino CLI to print the board and sketch dependencies of that compilation as a YAML document. This could be copied into a "sketch project file" for later use as a "build profile" specified via the `--profile` flag. A typo in the `profiles` key name caused the generated "build profile" entry to not be recognized when added to a "sketch project file". The key name is hereby corrected.
1 parent 2bbb1b4 commit 6138864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cli/compile/compile.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
303303
newProfileName = split[2]
304304
}
305305
fmt.Println()
306-
fmt.Println("profile:")
306+
fmt.Println("profiles:")
307307
fmt.Println(" " + newProfileName + ":")
308308
fmt.Println(" fqbn: " + compileRequest.GetFqbn())
309309
fmt.Println(" platforms:")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /