diff --git a/cli/compile/compile.go b/cli/compile/compile.go index 3104ff2aa71..2ca20c6e6bd 100644 --- a/cli/compile/compile.go +++ b/cli/compile/compile.go @@ -116,9 +116,9 @@ func NewCommand() *cobra.Command { compileCommand.Flags().BoolVarP(&verify, "verify", "t", false, tr("Verify uploaded binary after the upload.")) compileCommand.Flags().StringVar(&vidPid, "vid-pid", "", tr("When specified, VID/PID specific build properties are used, if board supports them.")) compileCommand.Flags().StringSliceVar(&library, "library", []string{}, - 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.")) + tr("Path to a single library’s root folder. Can be used multiple times or entries can be comma separated.")) compileCommand.Flags().StringSliceVar(&libraries, "libraries", []string{}, - tr("List of custom libraries dir paths separated by commas. Or can be used multiple times for multiple libraries dir paths.")) + tr("Path to a collection of libraries. Can be used multiple times or entries can be comma separated.")) compileCommand.Flags().BoolVar(&optimizeForDebug, "optimize-for-debug", false, tr("Optional, optimize compile output for debugging, rather than for release.")) programmer.AddToCommand(compileCommand) 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 --git a/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go b/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go index 452552c93ed..cc0e336bdc3 100644 --- a/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/commands_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.17.3 +// source: cc/arduino/cli/commands/v1/commands.proto package commands diff --git a/rpc/cc/arduino/cli/commands/v1/compile.pb.go b/rpc/cc/arduino/cli/commands/v1/compile.pb.go index dad0be067ec..fc0087936f9 100644 --- a/rpc/cc/arduino/cli/commands/v1/compile.pb.go +++ b/rpc/cc/arduino/cli/commands/v1/compile.pb.go @@ -74,7 +74,7 @@ type CompileRequest struct { // If jobs is set to 0, it will use the number of available CPUs as the // maximum. Jobs int32 `protobuf:"varint,14,opt,name=jobs,proto3" json:"jobs,omitempty"` - // List of custom libraries dir paths. + // A list of paths to directories containing a collection of libraries. Libraries []string `protobuf:"bytes,15,rep,name=libraries,proto3" json:"libraries,omitempty"` // Optimize compile output for debug, not for release. OptimizeForDebug bool `protobuf:"varint,16,opt,name=optimize_for_debug,json=optimizeForDebug,proto3" json:"optimize_for_debug,omitempty"` @@ -95,7 +95,7 @@ type CompileRequest struct { // When set to `true` the compiled binary will be copied to the export // directory. ExportBinaries *wrapperspb.BoolValue `protobuf:"bytes,23,opt,name=export_binaries,json=exportBinaries,proto3" json:"export_binaries,omitempty"` - // List of paths to library root folders + // A list of paths to single libraries root directory. Library []string `protobuf:"bytes,24,rep,name=library,proto3" json:"library,omitempty"` // The path where to search for the custom signing key name and the encrypt // key name diff --git a/rpc/cc/arduino/cli/commands/v1/compile.proto b/rpc/cc/arduino/cli/commands/v1/compile.proto index 2164aec36d8..3e8f71ae395 100644 --- a/rpc/cc/arduino/cli/commands/v1/compile.proto +++ b/rpc/cc/arduino/cli/commands/v1/compile.proto @@ -57,7 +57,7 @@ message CompileRequest { // If jobs is set to 0, it will use the number of available CPUs as the // maximum. int32 jobs = 14; - // List of custom libraries dir paths. + // A list of paths to directories containing a collection of libraries. repeated string libraries = 15; // Optimize compile output for debug, not for release. bool optimize_for_debug = 16; @@ -78,7 +78,7 @@ message CompileRequest { // When set to `true` the compiled binary will be copied to the export // directory. google.protobuf.BoolValue export_binaries = 23; - // List of paths to library root folders + // A list of paths to single libraries root directory. repeated string library = 24; // The path where to search for the custom signing key name and the encrypt // key name diff --git a/rpc/cc/arduino/cli/debug/v1/debug_grpc.pb.go b/rpc/cc/arduino/cli/debug/v1/debug_grpc.pb.go index 87ad365dd49..31a3c8d680f 100644 --- a/rpc/cc/arduino/cli/debug/v1/debug_grpc.pb.go +++ b/rpc/cc/arduino/cli/debug/v1/debug_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.17.3 +// source: cc/arduino/cli/debug/v1/debug.proto package debug diff --git a/rpc/cc/arduino/cli/monitor/v1/monitor_grpc.pb.go b/rpc/cc/arduino/cli/monitor/v1/monitor_grpc.pb.go index 276b4699983..be00975faa2 100644 --- a/rpc/cc/arduino/cli/monitor/v1/monitor_grpc.pb.go +++ b/rpc/cc/arduino/cli/monitor/v1/monitor_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.17.3 +// cc/arduino/cli/monitor/v1/monitor.proto is a deprecated file. package monitor diff --git a/rpc/cc/arduino/cli/settings/v1/settings_grpc.pb.go b/rpc/cc/arduino/cli/settings/v1/settings_grpc.pb.go index 28ede224376..305d1f96cea 100644 --- a/rpc/cc/arduino/cli/settings/v1/settings_grpc.pb.go +++ b/rpc/cc/arduino/cli/settings/v1/settings_grpc.pb.go @@ -1,4 +1,8 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.2.0 +// - protoc v3.17.3 +// source: cc/arduino/cli/settings/v1/settings.proto package settings