Minor usage fix
Fixes usage when running with a single unnamed argument
This commit is contained in:
parent
eae8197025
commit
dc11b88ef2
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue