Skip to content

Commit

Permalink
Show command line in solver output
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Oct 21, 2019
1 parent c0446fa commit b901a26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,12 @@ int main(int argc, char *argv[]) {
return 0;
}

for (int i = 0; i < argc; ++i) {
if (i) std::cout << " ";
std::cout << argv[i];
}
std::cout << std::endl;

boost::property_tree::ptree prm;
if (vm.count("prm-file")) {
read_json(vm["prm-file"].as<string>(), prm);
Expand Down

0 comments on commit b901a26

Please sign in to comment.