1 ; RUN: llvm-readtapi --help 2>&1 | FileCheck %s
2 ; RUN: llvm-readtapi -help 2>&1 | FileCheck %s
3 // Check mutually exclusive options.
4 ; RUN: not llvm-readtapi -merge -compare -compact %t/tmp.tbd %t/tmp2.tbd 2>&1 | FileCheck %s --check-prefix MULTI_ACTION
5 // Check unsupported file output format.
6 ; RUN: not llvm-readtapi -merge -compact %t/tmp.tbd %t/tmp2.tbd --filetype=tbd-v2 2>&1 | FileCheck %s --check-prefix FILE_FORMAT
8 CHECK: OVERVIEW: LLVM TAPI file reader and manipulator
9 CHECK: USAGE: llvm-readtapi [options] [-arch <arch>]* <inputs> [-o <output>]*
11 CHECK: -help display this help
13 MULTI_ACTION: error: only one of the following actions can be specified: -merge -compare
14 FILE_FORMAT: error: deprecated filetype 'tbd-v2' is not supported to write