mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fixed incorrect index on commandline argument.
This commit is contained in:
parent
decc41965d
commit
51506cdeb9
@ -27,7 +27,7 @@ int main(int argc, char** argv)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string configFile = argv[2];
|
const std::string configFile = argv[1];
|
||||||
std::cout << "Selected configuration file: " << configFile.c_str() << std::endl;
|
std::cout << "Selected configuration file: " << configFile.c_str() << std::endl;
|
||||||
|
|
||||||
Hyperion hyperion(configFile);
|
Hyperion hyperion(configFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user