From 46d15c5742b237e19788d8758ae6ce601776612c Mon Sep 17 00:00:00 2001 From: naison <895703375@qq.com> Date: Thu, 12 Jun 2025 13:15:41 +0800 Subject: [PATCH] refactor: optimize cmd disconnect (#642) --- cmd/kubevpn/cmds/disconnect.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/kubevpn/cmds/disconnect.go b/cmd/kubevpn/cmds/disconnect.go index cda9d770..1773f62a 100644 --- a/cmd/kubevpn/cmds/disconnect.go +++ b/cmd/kubevpn/cmds/disconnect.go @@ -31,8 +31,9 @@ func CmdDisconnect(f cmdutil.Factory) *cobra.Command { This command is to disconnect from cluster. after use command 'kubevpn connect', you can use this command to disconnect from a specific cluster. - before disconnect, it will leave proxy resource and clone resource if resource depends on this cluster - after disconnect it will also cleanup DNS and host + + - Before disconnect, it will leave proxy resource and clone resource if resource depends on this cluster. + - After disconnect, it will also cleanup DNS and host. `)), Example: templates.Examples(i18n.T(` # disconnect from first cluster