xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/BitcodeStripOpts.td (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
1*e8d8bef9SDimitry Andric//===-- BitcodeStripOpts.td - llvm-bitcode-strip options  ---------------*-===//
2*e8d8bef9SDimitry Andric//
3*e8d8bef9SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*e8d8bef9SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
5*e8d8bef9SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*e8d8bef9SDimitry Andric//
7*e8d8bef9SDimitry Andric//===----------------------------------------------------------------------===//
8*e8d8bef9SDimitry Andric//
9*e8d8bef9SDimitry Andric// This file describes the command line options of llvm-bitcode-strip.
10*e8d8bef9SDimitry Andric//
11*e8d8bef9SDimitry Andric//===----------------------------------------------------------------------===//
12*e8d8bef9SDimitry Andric
13*e8d8bef9SDimitry Andricinclude "llvm/Option/OptParser.td"
14*e8d8bef9SDimitry Andric
15*e8d8bef9SDimitry Andricdef help : Flag<["--"], "help">;
16*e8d8bef9SDimitry Andric
17*e8d8bef9SDimitry Andricdef h : Flag<["-"], "h">, Alias<help>;
18*e8d8bef9SDimitry Andric
19*e8d8bef9SDimitry Andricdef version : Flag<["--"], "version">,
20*e8d8bef9SDimitry Andric              HelpText<"Print the version and exit.">;
21*e8d8bef9SDimitry Andric
22*e8d8bef9SDimitry Andricdef V : Flag<["-"], "V">,
23*e8d8bef9SDimitry Andric        Alias<version>,
24*e8d8bef9SDimitry Andric        HelpText<"Alias for --version">;
25