Fixed incorrect index on commandline argument.

This commit is contained in:
T. van der Zwan 2013-08-22 05:57:46 +00:00
parent decc41965d
commit 51506cdeb9

View File

@ -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);