Skip to content

Commit b9dd123

Browse files
fix: correct --actions flag help text to match expected JSON shape
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7f6d156 commit b9dd123

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/browsers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2366,7 +2366,7 @@ func init() {
23662366

23672367
// computer batch
23682368
computerBatch := &cobra.Command{Use: "batch <id>", Short: "Execute a batch of computer actions from JSON", Args: cobra.ExactArgs(1), RunE: runBrowsersComputerBatch}
2369-
computerBatch.Flags().String("actions", "", "JSON array of actions (e.g., [{\"type\":\"click_mouse\",...}])")
2369+
computerBatch.Flags().String("actions", "", "JSON object with actions array (e.g., {\"actions\":[{\"type\":\"click_mouse\",...}]})")
23702370
_ = computerBatch.MarkFlagRequired("actions")
23712371

23722372
computerRoot.AddCommand(computerClick, computerMove, computerScreenshot, computerType, computerPressKey, computerScroll, computerDrag, computerSetCursor, computerGetMousePosition, computerBatch)

0 commit comments

Comments
 (0)