Skip to content

Commit 85b08db

Browse files
committed
fix docs
1 parent 6d30eb3 commit 85b08db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/warnet/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def auth(kube_config: str) -> None:
120120
with open(current_kubeconfig) as file:
121121
contents = yaml.safe_load(file)
122122
print("\nUse the following command to switch to a new user:")
123-
print(" kubectl config use context [user]\n")
123+
print(" kubectl config use-context [user]\n")
124124
print("Available users:")
125125
for context in contents["contexts"]:
126126
print(f" {context['name']}")

0 commit comments

Comments
 (0)