File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
web/src/content/docs/docs Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ export const TuiCommand = cmd({
55
55
type : "string" ,
56
56
describe : "prompt to use" ,
57
57
} )
58
- . option ( "mode " , {
58
+ . option ( "agent " , {
59
59
type : "string" ,
60
- describe : "mode to use" ,
60
+ describe : "agent to use" ,
61
61
} )
62
62
. option ( "port" , {
63
63
type : "number" ,
@@ -129,7 +129,7 @@ export const TuiCommand = cmd({
129
129
...cmd ,
130
130
...( args . model ? [ "--model" , args . model ] : [ ] ) ,
131
131
...( args . prompt ? [ "--prompt" , args . prompt ] : [ ] ) ,
132
- ...( args . mode ? [ "--mode " , args . mode ] : [ ] ) ,
132
+ ...( args . agent ? [ "--agent " , args . agent ] : [ ] ) ,
133
133
...( sessionID ? [ "--session" , sessionID ] : [ ] ) ,
134
134
] ,
135
135
cwd,
Original file line number Diff line number Diff line change @@ -346,6 +346,6 @@ The opencode CLI takes the following global flags.
346
346
| ` --log-level ` | | Log level (DEBUG, INFO, WARN, ERROR) |
347
347
| ` --prompt ` | ` -p ` | Prompt to use |
348
348
| ` --model ` | ` -m ` | Model to use in the form of provider/model |
349
- | ` --mode ` | | Mode to use |
349
+ | ` --agent ` | | Agent to use |
350
350
| ` --port ` | | Port to listen on |
351
351
| ` --hostname ` | | Hostname to listen on |
You can’t perform that action at this time.
0 commit comments