Skip to content

Commit 00e0a8a

Browse files
committed
fix
1 parent abd97df commit 00e0a8a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cli/agent.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ func (r *RootCmd) workspaceAgent() *serpent.Command {
415415
{
416416
Name: "Stackdriver Log Location",
417417
Description: "Output Stackdriver compatible logs to a given file.",
418+
Flag: "log-stackdriver",
418419
Env: "CODER_AGENT_LOGGING_STACKDRIVER",
419420
Default: "",
420421
Value: serpent.StringOf(&slogStackdriverPath),

cli/testdata/coder_agent_--help.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ OPTIONS:
1818
--auth string, $CODER_AGENT_AUTH (default: token)
1919
Specify the authentication type to use for the agent.
2020

21+
--block-file-transfer bool, $CODER_BLOCK_FILE_TRANSFER (default: false)
22+
Block file transfer using known applications: nc, rsync, scp, sftp.
23+
2124
--debug-address string, $CODER_AGENT_DEBUG_ADDRESS (default: 127.0.0.1:2113)
2225
The bind address to serve a debug HTTP server.
2326

0 commit comments

Comments
 (0)