Make --batch run Dolphin in headless mode, provided --exec is also passed

This commit is contained in:
Silent
2019-08-11 20:58:04 +02:00
parent 80e8037e0b
commit b6df0bff93
3 changed files with 11 additions and 5 deletions

View File

@ -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");
}