File tree 3 files changed +5
-7
lines changed 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
Usage:
2
2
coder agent [flags]
3
3
4
- Auth Flags:
5
- --auth string Specify the authentication type to use for the agent.
6
- Consumes $CODER_AGENT_AUTH (default "token")
7
4
Operability Flags:
8
5
--log-dir string Specify the location for the agent log files.
9
6
Consumes $CODER_AGENT_LOG_DIR (default "/tmp")
10
7
--pprof-address string The address to serve pprof.
11
8
Consumes $CODER_AGENT_PPROF_ADDRESS (default "127.0.0.1:6060")
12
9
Other Flags:
10
+ --auth string Specify the authentication type to use for the agent.
11
+ Consumes $CODER_AGENT_AUTH (default "token")
13
12
-h, --help help for agent
14
13
--no-reap Do not start a process reaper.
15
14
Original file line number Diff line number Diff line change @@ -3,11 +3,10 @@ Create a tokens
3
3
Usage:
4
4
coder tokens create [flags]
5
5
6
- Auth Flags:
6
+ Flags:
7
+ -h, --help help for create
7
8
--lifetime duration Specify a duration for the lifetime of the token.
8
9
Consumes $CODER_TOKEN_LIFETIME (default 720h0m0s)
9
- Other Flags:
10
- -h, --help help for create
11
10
12
11
Global Flags:
13
12
--global-config coder Path to the global coder config directory.
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ var flagCategories = []flagCategory{
76
76
matchers : []* regexp.Regexp {
77
77
regexp .MustCompile ("oauth2" ),
78
78
regexp .MustCompile ("oidc" ),
79
- regexp .MustCompile (" token" ),
79
+ regexp .MustCompile (`-\w* token` ),
80
80
regexp .MustCompile ("session" ),
81
81
},
82
82
},
You can’t perform that action at this time.
0 commit comments