Skip to content

Commit

Permalink
docs: update docs for launch_args
Browse files Browse the repository at this point in the history
- Both a space-separated string or an array of strings are valid. Change the example in man1 to prefer an array for multiple arguments
  • Loading branch information
R1kaB3rN committed Mar 15, 2024
1 parent dc2c4f7 commit df9e0c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/ulwgl.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prefix = "~/.wine"
proton = "~/GE-Proton30"
game_id = "0"
exe = "~/foo.exe"
launch_args = "-opengl -SkipBuildPatchPrereq"
launch_args = ["-opengl", "-SkipBuildPatchPrereq"]
store = "gog"
$ ulwgl-run --config config.toml
```
Expand Down
5 changes: 3 additions & 2 deletions docs/ulwgl.5.scd
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ $ ulwgl-run --config config.toml
Expects the values: egs, gog, battlenet, amazon, humble, itchio, and ubisoft.

*launch_args*
Launch arguments for the executable. Value must be a basic *string*.
Assumes each argument is space-separated.
Launch arguments for the executable. Value must be a basic *string* or an
*array* of basic strings. When using a string, assumes each argument is
space-separated.

# AUTHORS

Expand Down

0 comments on commit df9e0c9

Please sign in to comment.