Skip to content

Commit 4d76a67

Browse files
authored
Merge pull request #30 from keisku/update-help
Update help
2 parents e5b651d + ca45560 commit 4d76a67

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

README.md

+2-5
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
@@ -98,7 +95,7 @@ Download the binary from [GitHub Releases](https://github.com/keisku/kubectl-exp
9895
```shell
9996
# Other available architectures are linux_arm64, darwin_amd64, darwin_arm64, windows_amd64.
10097
export ARCH=linux_amd64
101-
export VERSION=v0.8.2
98+
export VERSION=v0.8.3
10299
wget -O- "https://github.com/keisku/kubectl-explore/releases/download/${VERSION}/kubectl-explore_${VERSION}_${ARCH}.tar.gz" | sudo tar -xzf - -C /usr/local/bin && sudo chmod +x /usr/local/bin/kubectl-explore
103100
```
104101

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)