From 19c852b3ae16e5efccc1b47d0e0df70b9aa4564a Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 21 Aug 2022 05:22:15 +0100 Subject: [PATCH] options: mention the "default" shader Signed-off-by: Yuxuan Shui --- src/options.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/options.c b/src/options.c index 22deafb..58b21d5 100644 --- a/src/options.c +++ b/src/options.c @@ -354,9 +354,10 @@ static void usage(const char *argv0, int ret) { "\n" "--window-shader-fg-rule shader:condition\n" " Specify GLSL fragment shader path for rendering window contents using\n" - " patterns. Pattern should be in the format of `SHADER PATH:PATTERN`,\n" - " similar to `--opacity-rule`. Only works when `--experimental-backends`\n" - " is enabled.\n"; + " patterns. Pattern should be in the format of `SHADER_PATH:PATTERN`,\n" + " similar to `--opacity-rule`. `SHADER_PATH` can be \"default\", in which\n" + " case the default shader will be used. Only works when\n" + " `--experimental-backends` is enabled.\n"; FILE *f = (ret ? stderr : stdout); fprintf(f, usage_text, argv0); #undef WARNING_DISABLED