Skip to content

Commit 3ca5cba

Browse files
committed
hide the gh cs ssh --stdio option in the --help message
1 parent 8687fcb commit 3ca5cba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/codespace/ssh.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ func newSSHCmd(app *App) *cobra.Command {
6464
sshCmd.Flags().StringVarP(&opts.codespace, "codespace", "c", "", "Name of the codespace")
6565
sshCmd.Flags().BoolVarP(&opts.debug, "debug", "d", false, "Log debug data to a file")
6666
sshCmd.Flags().StringVarP(&opts.debugFile, "debug-file", "", "", "Path of the file log to")
67-
sshCmd.Flags().BoolVarP(&opts.stdio, "stdio", "", false, "Proxy sshd connection to stdio")
67+
sshCmd.Flags().BoolVar(&opts.stdio, "stdio", false, "Proxy sshd connection to stdio")
68+
sshCmd.Flags().MarkHidden("stdio")
6869

6970
sshCmd.AddCommand(newConfigCmd(app))
7071

0 commit comments

Comments
 (0)