mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
e7dda9d340
Summary: Before, "[options] <inputs>" is unconditionally appended to the `Name` parameter. It is more flexible to change its semantic to `Usage` and let user customize the usage line. % llvm-objcopy ... USAGE: llvm-objcopy <input> [ <output> ] [options] <inputs> With this patch: % llvm-objcopy ... USAGE: llvm-objcopy input [output] Reviewers: rupprecht, alexshap, jhenderson Reviewed By: rupprecht Subscribers: jakehehrlich, mehdi_amini, steven_wu, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D51009 llvm-svn: 344097
14 lines
481 B
Plaintext
14 lines
481 B
Plaintext
; RUN: llvm-cvtres /h > %t
|
|
; RUN: FileCheck -input-file=%t %s -check-prefix=HELP_TEST
|
|
|
|
; HELP_TEST: OVERVIEW: Resource Converter
|
|
; HELP_TEST-DAG: USAGE: llvm-cvtres [options] file...
|
|
; HELP_TEST-DAG: OPTIONS:
|
|
; HELP_TEST-NEXT: /DEFINE:symbol
|
|
; HELP_TEST-NEXT: /FOLDDUPS:
|
|
; HELP_TEST-NEXT: /MACHINE:{ARM|ARM64|EBC|IA64|X64|X86}
|
|
; HELP_TEST-DAG: /NOLOGO
|
|
; HELP_TEST-NEXT: /OUT:filename
|
|
; HELP_TEST-NEXT: /READONLY
|
|
; HELP_TEST-NEXT: /VERBOSE
|