summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-07 18:36:15 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-11 15:18:02 -0700
commitf4e29c7923960d3cc6af73b3c66498cf9b2d6f38 (patch)
treef90718fce868d7d1d8404d7a0d0da4b05523d94b
parentcf8c5c53a8831fa7c7e0c7d2fb929b76708d66e1 (diff)
main: quote shown flags/args
Preparatory commit for recursive settings going cray-cray with escaping. At least single-quote these so it's directly copy-and-pasteable into a shell prompt.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 54abe18..2d28700 100644
--- a/src/main.c
+++ b/src/main.c
@@ -279,7 +279,7 @@ static int print_setup_as_args(setup_t *setup, int wait)
if (!video_args)
goto _out_module;
- r = printf("\nConfigured settings as flags:\n --seed=%s --module=%s --video=%s\n",
+ r = printf("\nConfigured settings as flags:\n --seed=%s '--module=%s' '--video=%s'\n",
seed_arg,
module_args,
video_args);
© All Rights Reserved