docs: update oneshot finder example (#2167)

This commit is contained in:
kid-icarus
2022-09-17 00:19:23 -07:00
committed by GitHub
parent 2584ff391b
commit 1fd497e8ff

View File

@@ -264,7 +264,7 @@ find results and call `entry_maker` for each entry. An example usage would be
`find`.
```lua
finder = finders.new_oneshot_job { "find", opts },
finder = finders.new_oneshot_job({ "find" }, opts ),
```
### More examples