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({
5555 type : "string" ,
5656 describe : "prompt to use" ,
5757 } )
58- . option ( "mode " , {
58+ . option ( "agent " , {
5959 type : "string" ,
60- describe : "mode to use" ,
60+ describe : "agent to use" ,
6161 } )
6262 . option ( "port" , {
6363 type : "number" ,
@@ -129,7 +129,7 @@ export const TuiCommand = cmd({
129129 ...cmd ,
130130 ...( args . model ? [ "--model" , args . model ] : [ ] ) ,
131131 ...( args . prompt ? [ "--prompt" , args . prompt ] : [ ] ) ,
132- ...( args . mode ? [ "--mode " , args . mode ] : [ ] ) ,
132+ ...( args . agent ? [ "--agent " , args . agent ] : [ ] ) ,
133133 ...( sessionID ? [ "--session" , sessionID ] : [ ] ) ,
134134 ] ,
135135 cwd,
Original file line number Diff line number Diff line change @@ -346,6 +346,6 @@ The opencode CLI takes the following global flags.
346346| ` --log-level ` | | Log level (DEBUG, INFO, WARN, ERROR) |
347347| ` --prompt ` | ` -p ` | Prompt to use |
348348| ` --model ` | ` -m ` | Model to use in the form of provider/model |
349- | ` --mode ` | | Mode to use |
349+ | ` --agent ` | | Agent to use |
350350| ` --port ` | | Port to listen on |
351351| ` --hostname ` | | Hostname to listen on |
You can’t perform that action at this time.
0 commit comments