We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0da35 commit b5f3f04Copy full SHA for b5f3f04
pkg/cmd/search/search.go
@@ -40,6 +40,7 @@ func NewSearchCmd(f *cmdutil.Factory) *cobra.Command {
40
cmd := &cobra.Command{
41
Use: "search <index-name>",
42
Short: "Search the given index",
43
+ Args: cobra.ExactArgs(1),
44
ValidArgsFunction: cmdutil.IndexNames(opts.SearchClient),
45
Long: `Search for objects in your index.`,
46
Example: heredoc.Doc(`
0 commit comments