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

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,