mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
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.
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue