diff --git a/ModFile.cc b/ModFile.cc
index 3861305dcdf71428f2421bfc8a0eb100c8e31059..44a7225d5bb645b0810b76a560834012abed36f0 100644
--- a/ModFile.cc
+++ b/ModFile.cc
@@ -143,7 +143,7 @@ ModFile::checkPass()
 
   if ((stochastic_statement_present || mod_file_struct.check_present || mod_file_struct.steady_present) && no_static)
     {
-      cerr << "no_static option is incompatible with stochastic simulation, estimation, optimal policy, steady or check command" << endl;
+      cerr << "ERROR: no_static option is incompatible with stoch_simul, estimation, osr, ramsey_policy, steady and check commands" << endl;
       exit(EXIT_FAILURE);
     }