Skip to content

Commit 4556f6d

Browse files
committed
update help output
1 parent e5b651d commit 4556f6d

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ Fuzzy-find the field to explain from all API resources.
2121
```
2222
Fuzzy-find the field to explain from all API resources.
2323
24-
Fields are identified via a simple JSONPath identifier:
25-
<type>.<fieldName>[.<fieldName>]
26-
2724
Usage:
28-
kubectl explore RESOURCE [options] [flags]
25+
kubectl explore [resource|regex] [flags]
2926
3027
Examples:
3128

options.go

+1-6
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@ func NewCmd() *cobra.Command {
4343
})
4444

4545
cmd := &cobra.Command{
46-
Use: "kubectl explore RESOURCE [options]",
47-
Long: `Fuzzy-find the field to explain from all API resources.
48-
49-
Fields are identified via a simple JSONPath identifier:
50-
<type>.<fieldName>[.<fieldName>]
51-
`,
46+
Use: "kubectl explore [resource|regex] [flags]",
5247
Short: "Fuzzy-find the field to explain from all API resources.",
5348
Example: `
5449
# Fuzzy-find the field to explain from all API resources.

0 commit comments

Comments
 (0)