From d8ff276d59d1f860fede052d8b92721e4ecb9db5 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 28 Oct 2014 14:24:56 +0000
Subject: [PATCH] Allow more than one command line option

We may want to override options from the parameter file.

[[Imported from SVN: r9946]]
---
 cosserat-continuum.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc
index e21d0be5..e49e21b8 100644
--- a/cosserat-continuum.cc
+++ b/cosserat-continuum.cc
@@ -91,7 +91,7 @@ int main (int argc, char *argv[]) try
 
     // parse data file
     ParameterTree parameterSet;
-    if (argc != 2)
+    if (argc < 2)
       DUNE_THROW(Exception, "Usage: ./cosserat-continuum <parameter file>");
 
     ParameterTreeParser::readINITree(argv[1], parameterSet);
-- 
GitLab