Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit081679f

Browse files
authored
fix: display force-tty flag (#17067)
Fixes:#17033
1 parent8da568b commit081679f

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

‎cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ func (r *RootCmd) Command(subcommands []*serpent.Command) (*serpent.Command, err
433433
{
434434
Flag:varForceTty,
435435
Env:"CODER_FORCE_TTY",
436-
Hidden:true,
436+
Hidden:false,
437437
Description:"Force the use of a TTY.",
438438
Value:serpent.BoolOf(&r.forceTTY),
439439
Group:globalGroup,

‎cli/testdata/coder_--help.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ variables or flags.
7979
Coder. Network telemetry is used to measure network quality and detect
8080
regressions.
8181

82+
--force-tty bool, $CODER_FORCE_TTY
83+
Force the use of a TTY.
84+
8285
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
8386
Path to the global `coder` config directory.
8487

‎docs/reference/cli/index.md

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎enterprise/cli/testdata/coder_--help.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ variables or flags.
3737
Coder. Network telemetry is used to measure network quality and detect
3838
regressions.
3939

40+
--force-tty bool, $CODER_FORCE_TTY
41+
Force the use of a TTY.
42+
4043
--global-config string, $CODER_CONFIG_DIR (default: ~/.config/coderv2)
4144
Path to the global `coder` config directory.
4245

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp