diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-10-02 00:09:07 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2017-10-24 11:41:55 +0200 |
| commit | 4b4a9a64865bbeeb55161a977bcadcb5ed58ade3 (patch) | |
| tree | a2e75a88e623e68717e6ba860d480428a9d9ea2f /Source/Core/UICommon/CommandLineParse.cpp | |
| parent | 8e0869aff6c50a23cd1ca9b2e03ad7c484ee2585 (diff) | |
UI: Implement a command line option to boot NAND title
Diffstat (limited to 'Source/Core/UICommon/CommandLineParse.cpp')
| -rw-r--r-- | Source/Core/UICommon/CommandLineParse.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/UICommon/CommandLineParse.cpp b/Source/Core/UICommon/CommandLineParse.cpp index c5db8b57e0..d76a2052c4 100644 --- a/Source/Core/UICommon/CommandLineParse.cpp +++ b/Source/Core/UICommon/CommandLineParse.cpp @@ -73,6 +73,11 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options) .metavar("<file>") .type("string") .help("Load the specified file"); + parser->add_option("-n", "--nand_title") + .action("store") + .metavar("<16-character ASCII title ID>") + .type("string") + .help("Launch a NAND title"); parser->add_option("-C", "--config") .action("append") .metavar("<System>.<Section>.<Key>=<Value>") |
