Skip to content

Commit 8f73b78

Browse files
howjmayMassimiliano Pippi
authored and
Massimiliano Pippi
committed
List cores with core search (#405)
Mirror the same function as `lib search` does. Use `arduino-cli core search` can list all the cores.
1 parent 88f5454 commit 8f73b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/core/search.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func initSearchCommand() *cobra.Command {
4040
Short: "Search for a core in the package index.",
4141
Long: "Search for a core in the package index using the specified keywords.",
4242
Example: " " + os.Args[0] + " core search MKRZero -v",
43-
Args: cobra.MinimumNArgs(1),
43+
Args: cobra.ArbitraryArgs,
4444
Run: runSearchCommand,
4545
}
4646
return searchCommand

0 commit comments

Comments
 (0)