mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
24 lines
758 B
TableGen
24 lines
758 B
TableGen
// Include the common option parsing interfaces.
|
|
include "llvm/Option/OptParser.td"
|
|
|
|
/////////
|
|
// Flags
|
|
|
|
def help : Flag<["-", "--"], "help">,
|
|
HelpText<"Display available options">;
|
|
|
|
def _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>;
|
|
|
|
def cache_tool_action: JoinedOrSeparate<["-"], "cache-tool-action">,
|
|
HelpText<"Swift Cache Tool Action Kind">,
|
|
MetaVarName<"<print-base-key|print-output-keys|...>">;
|
|
|
|
def cas_path: Separate<["-"], "cas-path">,
|
|
HelpText<"Path to CAS">, MetaVarName<"<path>">;
|
|
|
|
def cas_plugin_path: Separate<["-"], "cas-plugin-path">,
|
|
HelpText<"Path to CAS Plugin">, MetaVarName<"<path>">;
|
|
|
|
def cas_plugin_option: Separate<["-"], "cas-plugin-option">,
|
|
HelpText<"Option pass to CAS Plugin">, MetaVarName<"<name>=<option>">;
|