Merge branch 'dk_instances' into master

This commit is contained in:
David Kocik 2020-10-14 14:47:38 +02:00
commit c47d4cdc03

View File

@ -35,9 +35,9 @@ namespace instance_check_internal
}; };
static CommandLineAnalysis process_command_line(int argc, char** argv) static CommandLineAnalysis process_command_line(int argc, char** argv)
{ {
CommandLineAnalysis ret { false }; CommandLineAnalysis ret;
if (argc < 2) //if (argc < 2)
return ret; // return ret;
std::vector<std::string> arguments { argv[0] }; std::vector<std::string> arguments { argv[0] };
for (size_t i = 1; i < argc; ++i) { for (size_t i = 1; i < argc; ++i) {
const std::string token = argv[i]; const std::string token = argv[i];