Skip to content

Commit 64467a3

Browse files
committed
Fixed '--libraries' and '--library' flags description in compile command.
1 parent 652bcac commit 64467a3

File tree

7 files changed

+22
-6
lines changed

7 files changed

+22
-6
lines changed

Diff for: cli/compile/compile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ func NewCommand() *cobra.Command {
116116
compileCommand.Flags().BoolVarP(&verify, "verify", "t", false, tr("Verify uploaded binary after the upload."))
117117
compileCommand.Flags().StringVar(&vidPid, "vid-pid", "", tr("When specified, VID/PID specific build properties are used, if board supports them."))
118118
compileCommand.Flags().StringSliceVar(&library, "library", []string{},
119-
tr("List of paths to libraries root folders. Libraries set this way have top priority in case of conflicts. Can be used multiple times for different libraries."))
119+
tr("Path to a single library’s root folder. Overrides other occurrences of the library found in default libraries folder or passed in via --libraries. Can be used multiple times or entries can be comma separated."))
120120
compileCommand.Flags().StringSliceVar(&libraries, "libraries", []string{},
121-
tr("List of custom libraries dir paths separated by commas. Or can be used multiple times for multiple libraries dir paths."))
121+
tr("Path to a collection of libraries. Contained libraries override the ones found in the default libraries folder. Can be used multiple times or entries can be comma separated."))
122122
compileCommand.Flags().BoolVar(&optimizeForDebug, "optimize-for-debug", false, tr("Optional, optimize compile output for debugging, rather than for release."))
123123
programmer.AddToCommand(compileCommand)
124124
compileCommand.Flags().BoolVar(&compilationDatabaseOnly, "only-compilation-database", false, tr("Just produce the compilation database, without actually compiling. All build commands are skipped except pre* hooks."))

Diff for: rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rpc/cc/arduino/cli/commands/v1/compile.pb.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rpc/cc/arduino/cli/commands/v1/compile.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ message CompileRequest {
5757
// If jobs is set to 0, it will use the number of available CPUs as the
5858
// maximum.
5959
int32 jobs = 14;
60-
// List of custom libraries dir paths.
60+
// A list of paths to directories containing a collection of libraries.
6161
repeated string libraries = 15;
6262
// Optimize compile output for debug, not for release.
6363
bool optimize_for_debug = 16;
@@ -78,7 +78,7 @@ message CompileRequest {
7878
// When set to `true` the compiled binary will be copied to the export
7979
// directory.
8080
google.protobuf.BoolValue export_binaries = 23;
81-
// List of paths to library root folders
81+
// A list of paths to single libraries root directory.
8282
repeated string library = 24;
8383
// The path where to search for the custom signing key name and the encrypt
8484
// key name

Diff for: rpc/cc/arduino/cli/debug/v1/debug_grpc.pb.go

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rpc/cc/arduino/cli/monitor/v1/monitor_grpc.pb.go

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: rpc/cc/arduino/cli/settings/v1/settings_grpc.pb.go

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)