mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
Minor usage fix
Fixes usage when running with a single unnamed argument
This commit is contained in:
parent
eae8197025
commit
dc11b88ef2
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue