1 ; RUN: llvm-rc /h > %t1
2 ; RUN: llvm-rc '/?' > %t2
4 ; RUN: FileCheck -input-file=%t1 %s
6 ; CHECK: OVERVIEW: LLVM Resource Converter
7 ; CHECK-DAG: USAGE: llvm-rc [options] file...
9 ; CHECK-NEXT: /? Display this help and exit.
10 ; CHECK-NEXT: /C <value> Set the codepage used for input strings.
11 ; CHECK-NEXT: /dry-run Don't compile the input; only try to parse it.
12 ; CHECK-NEXT: /D <value> Define a symbol for the C preprocessor.
13 ; CHECK-NEXT: /FO <value> Change the output file location.
14 ; CHECK-NEXT: /H Display this help and exit.
15 ; CHECK-NEXT: /I <value> Add an include path.
16 ; CHECK-NEXT: /LN <value> Set the default language name.
17 ; CHECK-NEXT: /L <value> Set the default language identifier.
18 ; CHECK-NEXT: /no-preprocess Don't try to preprocess the input file.
19 ; CHECK-NEXT: /N Null-terminate all strings in the string table.
20 ; CHECK-NEXT: /U <value> Undefine a symbol for the C preprocessor.
21 ; CHECK-NEXT: /V Be verbose.
22 ; CHECK-NEXT: /X Ignore 'include' variable.
23 ; CHECK-NEXT: /Y Suppress warnings on duplicate resource IDs.