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 7// Check version printing. 8; RUN: llvm-readtapi -v 2>&1 | FileCheck %s --check-prefix VERSION 9; RUN: llvm-readtapi --version 2>&1 | FileCheck %s --check-prefix VERSION 10 11; CHECK: OVERVIEW: LLVM TAPI file reader and transformer 12; CHECK: USAGE: llvm-readtapi <command> [-arch <architecture> <options>]* <inputs> [-o <output>]* 13; CHECK: COMMANDS: 14; CHECK: OPTIONS: 15; CHECK: -help display this help 16 17; MULTI_ACTION: error: only one of the following actions can be specified: -merge -compare 18; FILE_FORMAT: error: deprecated filetype 'tbd-v2' is not supported to write 19 20; VERSION: {{ version }} 21