From dc11b88ef246cacff5d4d830f93edcfa518cac39 Mon Sep 17 00:00:00 2001 From: x1nixmzeng Date: Mon, 9 Feb 2015 20:13:09 +0000 Subject: [PATCH] Minor usage fix Fixes usage when running with a single unnamed argument --- src/xenia/xenia_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/xenia_main.cc b/src/xenia/xenia_main.cc index 4803c07b0..eb2e07b99 100644 --- a/src/xenia/xenia_main.cc +++ b/src/xenia/xenia_main.cc @@ -30,7 +30,7 @@ int xenia_main(std::vector& args) { } // Grab path from the flag or unnamed argument. - if (FLAGS_target.size() && args.size() >= 2) { + if (FLAGS_target.size() || args.size() >= 2) { std::wstring path; if (FLAGS_target.size()) { // Passed as a named argument.