From 4b4a9a64865bbeeb55161a977bcadcb5ed58ade3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 2 Oct 2017 00:09:07 +0200 Subject: UI: Implement a command line option to boot NAND title --- Source/Core/UICommon/CommandLineParse.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/UICommon/CommandLineParse.cpp') 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 CreateParser(ParserOptions options) .metavar("") .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(".
.=") -- cgit v1.2.3