Skip to content

Commit 36a0d41

Browse files
committed
Mark force-tty flag as hidden
1 parent 3c08393 commit 36a0d41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ func Root() *cobra.Command {
6767

6868
cmd.PersistentFlags().String(varGlobalConfig, configdir.LocalConfig("coder"), "Path to the global `coder` config directory")
6969
cmd.PersistentFlags().Bool(varForceTty, false, "Force the `coder` command to run as if connected to a TTY")
70-
70+
cmd.PersistentFlags().MarkHidden(varForceTty)
71+
7172
return cmd
7273
}
7374

0 commit comments

Comments
 (0)