Skip to content

Commit 08708b9

Browse files
committed
Improved some help description
1 parent 80b0018 commit 08708b9

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

internal/cli/profile/profile_lib.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ import (
2626
func initProfileLibCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command {
2727
libCommand := &cobra.Command{
2828
Use: "lib",
29-
Short: i18n.Tr("Commands related to build profile libraries."),
30-
Long: i18n.Tr("Commands related to the library dependencies of build profiles."),
29+
Short: i18n.Tr("Commands to manage libraries in sketch profiles."),
3130
Example: "" +
3231
" " + os.Args[0] + " profile lib add AudioZero -m my_profile\n" +
3332
" " + os.Args[0] + " profile lib remove Arduino_JSON --profile my_profile\n",

internal/cli/profile/profile_lib_add.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ func initLibAddCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command {
3737
var noOverwrite bool
3838
addCommand := &cobra.Command{
3939
Use: fmt.Sprintf("add %s[@%s]...", i18n.Tr("LIBRARY"), i18n.Tr("VERSION_NUMBER")),
40-
Short: i18n.Tr("Adds a library to the profile."),
41-
Long: i18n.Tr("Adds a library to the profile."),
40+
Short: i18n.Tr("Adds a library to a sketch profile."),
4241
Example: "" +
4342
" " + os.Args[0] + " profile lib add AudioZero -m my_profile\n" +
4443
" " + os.Args[0] + " profile lib add [email protected] --profile my_profile\n",

internal/cli/profile/profile_lib_remove.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ func initLibRemoveCommand(srv rpc.ArduinoCoreServiceServer) *cobra.Command {
3636

3737
removeCommand := &cobra.Command{
3838
Use: fmt.Sprintf("remove %s[@%s]...", i18n.Tr("LIBRARY"), i18n.Tr("VERSION_NUMBER")),
39-
Short: i18n.Tr("Removes a library from the profile."),
40-
Long: i18n.Tr("Removes a library from the profile."),
39+
Short: i18n.Tr("Removes a library from a sketch profile."),
4140
Example: "" +
4241
" " + os.Args[0] + " profile lib remove AudioZero -m my_profile\n" +
4342
" " + os.Args[0] + " profile lib remove [email protected] --profile my_profile\n",

0 commit comments

Comments
 (0)