summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/CommandLineParse.cpp
diff options
context:
space:
mode:
authorSilent <zdanio95@gmail.com>2019-08-11 20:58:04 +0200
committerSilent <zdanio95@gmail.com>2019-08-11 20:58:04 +0200
commitb6df0bff939670ee209abb8817d1aa3bd7ded709 (patch)
tree459f06fe41f0d55210310bf8120caeecae778d03 /Source/Core/UICommon/CommandLineParse.cpp
parent80e8037e0b5e1894140cf4d7f8a1881df0428fe9 (diff)
Make --batch run Dolphin in headless mode, provided --exec is also passed
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
-rw-r--r--Source/Core/UICommon/CommandLineParse.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp
index 6eb94844d6..5a12d62997 100644
--- a/Source/Core/UICommon/CommandLineParse.cpp
+++ b/Source/Core/UICommon/CommandLineParse.cpp
@@ -96,7 +96,9 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options)
.action("store_true")
.help("Show the debugger pane and additional View menu options");
parser->add_option("-l", "--logger").action("store_true").help("Open the logger");
- parser->add_option("-b", "--batch").action("store_true").help("Exit Dolphin with emulation");
+ parser->add_option("-b", "--batch")
+ .action("store_true")
+ .help("Run Dolphin without the user interface (Requires --exec)");
parser->add_option("-c", "--confirm").action("store_true").help("Set Confirm on Stop");
}