summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/Opts.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-rc/Opts.td')
-rw-r--r--llvm/tools/llvm-rc/Opts.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-rc/Opts.td b/llvm/tools/llvm-rc/Opts.td
index 4f6bf27e8d5..9792aa582cb 100644
--- a/llvm/tools/llvm-rc/Opts.td
+++ b/llvm/tools/llvm-rc/Opts.td
@@ -32,6 +32,9 @@ def H : Flag<[ "/", "-" ], "H">,
Alias<HELP>,
HelpText<"Display this help and exit.">;
+def DRY_RUN : Flag<[ "/", "-" ], "dry-run">,
+ HelpText<"Don't compile the input; only try to parse it.">;
+
// Unused switches (at least for now). These will stay unimplemented
// in an early stage of development and can be ignored. However, we need to
// parse them in order to preserve the compatibility with the original tool.
OpenPOWER on IntegriCloud