summaryrefslogtreecommitdiff
path: root/Source/Core/UICommon/CommandLineParse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
-rw-r--r--Source/Core/UICommon/CommandLineParse.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp
index 8051393e4d..c89a5784f0 100644
--- a/Source/Core/UICommon/CommandLineParse.cpp
+++ b/Source/Core/UICommon/CommandLineParse.cpp
@@ -94,6 +94,11 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options)
.metavar("<System>.<Section>.<Key>=<Value>")
.type("string")
.help("Set a configuration option");
+ parser->add_option("-s", "--save_state")
+ .action("store")
+ .metavar("<file>")
+ .type("string")
+ .help("Load the initial save state");
if (options == ParserOptions::IncludeGUIOptions)
{