From df9e0c93bc875a29daa0466807a6f328b7ef1c77 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Thu, 14 Mar 2024 19:05:59 -0700 Subject: [PATCH] docs: update docs for launch_args - Both a space-separated string or an array of strings are valid. Change the example in man1 to prefer an array for multiple arguments --- docs/ulwgl.1.scd | 2 +- docs/ulwgl.5.scd | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/ulwgl.1.scd b/docs/ulwgl.1.scd index dab3b8480..35d2b8a7b 100644 --- a/docs/ulwgl.1.scd +++ b/docs/ulwgl.1.scd @@ -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 ``` diff --git a/docs/ulwgl.5.scd b/docs/ulwgl.5.scd index 3480e97b2..283d0d60a 100644 --- a/docs/ulwgl.5.scd +++ b/docs/ulwgl.5.scd @@ -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