Matteo Bruni : vkd3d-compiler: Update usage message for the -x option.

Alexandre Julliard julliard at winehq.org
Fri Jan 29 14:54:48 CST 2021


Module: vkd3d
Branch: master
Commit: abe7051e99e79d18c10351aa4917cce317825031
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=abe7051e99e79d18c10351aa4917cce317825031

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Jan 28 18:43:44 2021 +0100

vkd3d-compiler: Update usage message for the -x option.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/vkd3d-compiler/main.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/programs/vkd3d-compiler/main.c b/programs/vkd3d-compiler/main.c
index e98e713..fb19a70 100644
--- a/programs/vkd3d-compiler/main.c
+++ b/programs/vkd3d-compiler/main.c
@@ -178,8 +178,10 @@ static void print_usage(const char *program_name)
         "  -p, --profile=<name>  Specify the target shader profile for HLSL shaders.\n"
         "  --strip-debug         Strip debug information from the output.\n"
         "  -V, --version         Display version information and exit.\n"
-        "  -x <type>             Specify the type of the source. Valid values are\n"
-        "                        'dxbc-tpf' and 'none'.\n"
+        "  -x <type>             Specify the type of the source. Use --print-source-types\n"
+        "                        to list valid source types. The default source type is\n"
+        "                        'dxbc-tpf' for compile operations, and 'hlsl' for\n"
+        "                        preprocess operations.\n"
         "  --                    Stop option processing. Any subsequent argument is\n"
         "                        interpreted as a filename.\n"
         "\n"




More information about the wine-cvs mailing list