* Hide unrelated options.
* Add "OVERVIEW: " to yaml2obj -h/--help.
* Place options under a yaml2obj category.
* Disallow -docnum. Currently -docnum is the only yaml2obj specific long option that is affected.
* Specify `cl::init("-")` and `cl::Prefix` for OutputFilename. The
latter allows `-ofile`
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D73982
12 lines
525 B
Plaintext
12 lines
525 B
Plaintext
## Show that help text is printed correctly when requested.
|
|
|
|
# RUN: yaml2obj -h | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
|
|
# RUN: yaml2obj --help | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
|
|
# RUN: yaml2obj --help-list | FileCheck %s --implicit-check-not=Options:
|
|
|
|
# CHECK: OVERVIEW: Create an object file from a YAML description
|
|
# CHECK: USAGE: yaml2obj{{(.exe)?}} [options] <input file>{{$}}
|
|
# CHECK: OPTIONS:
|
|
# CATEG: Generic Options:
|
|
# CATEG: yaml2obj Options:
|