comparison Applications/Wasm/StartupParametersBuilder.cpp @ 664:9631a10ed3af

fix previous merge
author Alain Mazy <alain@mazy.be>
date Wed, 15 May 2019 11:52:35 +0200
parents 63982c8c294a
children 5dd496343fad
comparison
equal deleted inserted replaced
663:b8b2bb75fde1 664:9631a10ed3af
40 std::stringstream argSs; 40 std::stringstream argSs;
41 41
42 argSs << "--" << std::get<0>(*it); 42 argSs << "--" << std::get<0>(*it);
43 if(std::get<1>(*it).length() > 0) 43 if(std::get<1>(*it).length() > 0)
44 argSs << "=" << std::get<1>(*it); 44 argSs << "=" << std::get<1>(*it);
45 }
45 46
46 47
47 std::cout << "simulated cmdLine = \"" << cmdLine.c_str() << "\"\n"; 48 std::cout << "simulated cmdLine = \"" << cmdLine.c_str() << "\"\n";
48 49
49 try 50 try
54 boost::program_options::notify(parameters); 55 boost::program_options::notify(parameters);
55 } 56 }
56 catch (boost::program_options::error& e) 57 catch (boost::program_options::error& e)
57 { 58 {
58 std::cerr << "Error while parsing the command-line arguments: " << 59 std::cerr << "Error while parsing the command-line arguments: " <<
59 e.what() << std::endl; } 60 e.what() << std::endl;
61 }
60 } 62 }
61 } 63 }