Skip to content

Commit a88abc9

Browse files
authored
fix: improve description of the update command (#660)
1 parent 6e589c1 commit a88abc9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/arduino-app-cli/system/system.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ func newUpdateCmd() *cobra.Command {
4545
var onlyArduino bool
4646
var forceYes bool
4747
cmd := &cobra.Command{
48-
Use: "update",
49-
Args: cobra.ExactArgs(0),
48+
Use: "update",
49+
Short: "Launches an update of the upgradable packages on the system",
50+
Args: cobra.ExactArgs(0),
5051
RunE: func(cmd *cobra.Command, _ []string) error {
5152
filterFunc := getFilterFunc(onlyArduino)
5253

@@ -99,7 +100,7 @@ func newUpdateCmd() *cobra.Command {
99100
},
100101
}
101102

102-
cmd.PersistentFlags().BoolVar(&onlyArduino, "only-arduino", false, "Check for all upgradable packages")
103+
cmd.PersistentFlags().BoolVar(&onlyArduino, "only-arduino", false, "Only upgrades Arduino specific packages")
103104
cmd.PersistentFlags().BoolVar(&forceYes, "yes", false, "Automatically confirm all prompts")
104105

105106
return cmd

0 commit comments

Comments
 (0)