Skip to content

Commit

Permalink
fix merge example
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Jan 17, 2020
1 parent 9a9763d commit 469c7ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ kubecm add -f example.yaml -c
### Merge the kubeconfig
```bash
# Merge kubeconfig in the test directory
kubecm merge -f test
# Merge kubeconfig in the directory
kubecm merge -f dir

# Merge kubeconfig in the test directory and overwrite the original kubeconfig file
kubecm merge -f test -c
# Merge kubeconfig in the directory and overwrite the original kubeconfig file
kubecm merge -f dir -c
```
### Switch Kube Context interactively
Expand Down
8 changes: 4 additions & 4 deletions cmd/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ func nameHandle(path string) string {

func mergeExample() string {
return `
# Merge kubeconfig in the test directory
kubecm merge -f test
# Merge kubeconfig in the dir directory
kubecm merge -f dir
# Merge kubeconfig in the test directory and overwrite the original kubeconfig file
kubecm merge -f test -c
# Merge kubeconfig in the directory and overwrite the original kubeconfig file
kubecm merge -f dir -c
`
}

0 comments on commit 469c7ab

Please sign in to comment.