Index: /issm/trunk-jpl/src/c/solutions/ProcessArguments.cpp
===================================================================
--- /issm/trunk-jpl/src/c/solutions/ProcessArguments.cpp	(revision 13305)
+++ /issm/trunk-jpl/src/c/solutions/ProcessArguments.cpp	(revision 13306)
@@ -19,7 +19,8 @@
 	char *rootpatharg    = NULL;
 
+	*solution_type=StringToEnumx(argv[1]);
 	if(argc<2)_error_("Usage error: no solution requested");
-	*solution_type=StringToEnumx(argv[1]);
-	if(argc<3)_error_("Usage error: missing model name");
+	if(argc<3)_error_("Usage error: missing execution directory");
+	if(argc<4)_error_("Usage error: missing model name");
 
 	rootpatharg=argv[2];
