xref: /llvm-project/llvm/test/tools/obj2yaml/help.test (revision df42d63d3706133efa46d16d29492efd125a3e28)
1## Show that help text is printed correctly when requested.
2
3# RUN: obj2yaml -h | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
4# RUN: obj2yaml --help | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
5# RUN: obj2yaml --help-list | FileCheck %s --implicit-check-not=Options:
6
7# CHECK: OVERVIEW: Dump a YAML description from an object file
8# CHECK: USAGE: obj2yaml{{(.exe)?}} [options] <input file>{{$}}
9# CHECK: OPTIONS:
10# CATEG: Generic Options:
11# CATEG: obj2yaml Options:
12