Merge pull request #786 from atgeirr/unhandled-arguments

Store unhandled command-line arguments
This commit is contained in:
Bård Skaflestad 2015-04-14 16:59:45 +02:00
commit 3562cde8b9
3 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ try
{ {
using namespace Opm; using namespace Opm;
parameter::ParameterGroup param(argc, argv, false); parameter::ParameterGroup param(argc, argv);
// Read grid. // Read grid.
GridManager grid_manager(param.get<std::string>("grid_filename")); GridManager grid_manager(param.get<std::string>("grid_filename"));

View File

@ -81,7 +81,7 @@ try
using namespace Opm; using namespace Opm;
// Setup. // Setup.
parameter::ParameterGroup param(argc, argv, false); parameter::ParameterGroup param(argc, argv);
std::cout << "--------------- Reading parameters ---------------" << std::endl; std::cout << "--------------- Reading parameters ---------------" << std::endl;
const std::string deck_filename = param.get<std::string>("deck_filename"); const std::string deck_filename = param.get<std::string>("deck_filename");
Opm::ParserPtr parser(new Opm::Parser() ); Opm::ParserPtr parser(new Opm::Parser() );

View File

@ -77,7 +77,7 @@ try
{ {
using namespace Opm; using namespace Opm;
parameter::ParameterGroup param(argc, argv, false); parameter::ParameterGroup param(argc, argv);
// Read grid. // Read grid.
GridManager grid_manager(param.get<std::string>("grid_filename")); GridManager grid_manager(param.get<std::string>("grid_filename"));