diff --git a/README.md b/README.md index bf543456..bf81017c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/cmd/merge.go b/cmd/merge.go index 3023d90c..bfb8fc7a 100644 --- a/cmd/merge.go +++ b/cmd/merge.go @@ -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 ` }