1 //===-- BitcodeStripOpts.td - llvm-bitcode-strip options ---------------*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file describes the command line options of llvm-bitcode-strip.
11 //===----------------------------------------------------------------------===//
13 include "llvm/Option/OptParser.td"
15 def help : Flag<["--"], "help">;
17 def h : Flag<["-"], "h">, Alias<help>;
19 def version : Flag<["--"], "version">,
20 HelpText<"Print the version and exit">;
22 def V : Flag<["-"], "V">,
24 HelpText<"Alias for --version">;
26 def remove : Flag<["-"], "r">,
27 HelpText<"Remove the __LLVM bitcode segment entirely">;
29 def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,
30 MetaVarName<"<file>">;