Minor usage fix

Fixes usage when running with a single unnamed argument
This commit is contained in:
x1nixmzeng 2015-02-09 20:13:09 +00:00
parent eae8197025
commit dc11b88ef2
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ int xenia_main(std::vector<std::wstring>& args) {
} }
// Grab path from the flag or unnamed argument. // 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; std::wstring path;
if (FLAGS_target.size()) { if (FLAGS_target.size()) {
// Passed as a named argument. // Passed as a named argument.