mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: display force-tty flag (#17067)
Fixes: https://github.com/coder/coder/issues/17033
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Vendored
+3
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user