diff --git a/cmd/wsh/cmd/wshcmd-connserver.go b/cmd/wsh/cmd/wshcmd-connserver.go index c18e1022f..cc00a694e 100644 --- a/cmd/wsh/cmd/wshcmd-connserver.go +++ b/cmd/wsh/cmd/wshcmd-connserver.go @@ -12,6 +12,7 @@ import ( var serverCmd = &cobra.Command{ Use: "connserver", + Hidden: true, Short: "remote server to power wave blocks", Args: cobra.NoArgs, Run: serverRun, diff --git a/cmd/wsh/cmd/wshcmd-html.go b/cmd/wsh/cmd/wshcmd-html.go index 84fb2b32c..6bffc992e 100644 --- a/cmd/wsh/cmd/wshcmd-html.go +++ b/cmd/wsh/cmd/wshcmd-html.go @@ -16,6 +16,7 @@ func init() { var htmlCmd = &cobra.Command{ Use: "html", + Hidden: true, Short: "Launch a demo html-mode terminal", Run: htmlRun, PreRunE: preRunSetupRpcClient, diff --git a/cmd/wsh/cmd/wshcmd-rcfiles.go b/cmd/wsh/cmd/wshcmd-rcfiles.go index e175bfeee..84a432d1f 100644 --- a/cmd/wsh/cmd/wshcmd-rcfiles.go +++ b/cmd/wsh/cmd/wshcmd-rcfiles.go @@ -18,8 +18,9 @@ func init() { } var rcfilesCmd = &cobra.Command{ - Use: "rcfiles", - Short: "Generate the rc files needed for various shells", + Use: "rcfiles", + Hidden: true, + Short: "Generate the rc files needed for various shells", Run: func(cmd *cobra.Command, args []string) { home := wavebase.GetHomeDir() waveDir := filepath.Join(home, ".waveterm") diff --git a/cmd/wsh/cmd/wshcmd-shell-unix.go b/cmd/wsh/cmd/wshcmd-shell-unix.go index 4d33b2ec1..d378c4b07 100644 --- a/cmd/wsh/cmd/wshcmd-shell-unix.go +++ b/cmd/wsh/cmd/wshcmd-shell-unix.go @@ -21,8 +21,9 @@ func init() { } var shellCmd = &cobra.Command{ - Use: "shell", - Short: "Print the login shell of this user", + Use: "shell", + Hidden: true, + Short: "Print the login shell of this user", Run: func(cmd *cobra.Command, args []string) { WriteStdout(shellCmdInner()) }, diff --git a/cmd/wsh/cmd/wshcmd-shell-win.go b/cmd/wsh/cmd/wshcmd-shell-win.go index cc4dca51b..367d50b71 100644 --- a/cmd/wsh/cmd/wshcmd-shell-win.go +++ b/cmd/wsh/cmd/wshcmd-shell-win.go @@ -14,8 +14,9 @@ func init() { } var shellCmd = &cobra.Command{ - Use: "shell", - Short: "Print the login shell of this user", + Use: "shell", + Hidden: true, + Short: "Print the login shell of this user", Run: func(cmd *cobra.Command, args []string) { shellCmdInner() },