llvm-project/llvm/test/tools/llvm-rc
Fangrui Song 88478bbc60 [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>"
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
2018-10-10 00:15:31 +00:00
..
Inputs [llvm-rc] Add support for the optional CLASS statement for dialogs 2018-05-15 19:21:28 +00:00
codepage.test [llvm-rc] Add rudimentary support for codepages 2018-05-02 19:43:44 +00:00
cpp-output.test [llvm-rc] Handle C preprocessor output 2018-05-09 18:21:03 +00:00
helpmsg.test [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
include-paths.test [llvm-rc] Don't strictly require quotes around external file names 2018-05-08 08:47:37 +00:00
memoryflags-stringtable.test [llvm-rc] Add support for parsing memory flags 2018-05-15 06:35:29 +00:00
memoryflags.test [llvm-rc] Add support for parsing memory flags 2018-05-15 06:35:29 +00:00
parser-expr.test
parser.test [llvm-rc] Don't strictly require quotes around external file names 2018-05-08 08:47:37 +00:00
tag-accelerators.test
tag-dialog.test [llvm-rc] Add support for the optional CLASS statement for dialogs 2018-05-15 19:21:28 +00:00
tag-escape.test [llvm-rc] Implement escape sequences in .rc files. 2017-10-06 22:05:15 +00:00
tag-html.test [llvm-rc] Use proper search algorithm for finding resources. 2017-10-11 20:12:09 +00:00
tag-icon-cursor.test [llvm-rc] Read the Planes/BitCount fields from BITMAPINFOHEADER for icons 2018-05-15 06:35:20 +00:00
tag-menu.test [llvm-rc] Default to writing the output next to the input, if no output is specified 2018-05-02 21:15:24 +00:00
tag-stringtable.test [llvm-rc] Serialize STRINGTABLE statements to .res file. 2017-10-06 21:30:55 +00:00
tag-user.test [llvm-rc] Add support for the RCDATA resource type 2018-05-09 18:20:56 +00:00
tag-versioninfo.test [llvm-rc] Serialize VERSIONINFO resources to .res files. 2017-10-06 21:26:06 +00:00
tokenizer.test [llvm-rc] Default to writing the output next to the input, if no output is specified 2018-05-02 21:15:24 +00:00
versioninfo-padding.test [llvm-rc] Exclude padding from sizes in versioninfo resources 2018-05-07 20:27:23 +00:00