From 056d72c897aa729d4f72465687afdd8bbd1b5444 Mon Sep 17 00:00:00 2001 From: Luis Felipe Strano Moraes Date: Tue, 18 Oct 2022 17:06:52 -0700 Subject: [PATCH] anv: add missing separator to help for intel_clc intel_clc relies on the special argument '--' for getopt to be given so it knows when to start expecting purely input files or clang arguments. Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/compiler/intel_clc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/intel_clc.c b/src/intel/compiler/intel_clc.c index fb8f0ec4b05..9317bcf37de 100644 --- a/src/intel/compiler/intel_clc.c +++ b/src/intel/compiler/intel_clc.c @@ -258,7 +258,7 @@ static void print_usage(char *exec_name, FILE *f) { fprintf(f, -"Usage: %s [options] [clang args | input file]\n" +"Usage: %s [options] -- [clang args | input file]\n" "Options:\n" " -h --help Print this help.\n" " -e, --entrypoint Specify the entry-point name.\n"