fix: display force-tty flag (#17067)

Fixes: https://github.com/coder/coder/issues/17033
This commit is contained in:
Marcin Tojek
2025-03-25 10:25:35 +01:00
committed by GitHub
parent 8da568b132
commit 081679f431
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ func (r *RootCmd) Command(subcommands []*serpent.Command) (*serpent.Command, err
{
Flag: varForceTty,
Env: "CODER_FORCE_TTY",
Hidden: true,
Hidden: false,
Description: "Force the use of a TTY.",
Value: serpent.BoolOf(&r.forceTTY),
Group: globalGroup,
+3
View File
@@ -79,6 +79,9 @@ variables or flags.
Coder. Network telemetry is used to measure network quality and detect
regressions.
--force-tty bool, $CODER_FORCE_TTY
Force the use of a TTY.
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
Path to the global `coder` config directory.