Skip to content

Commit

Permalink
Add a friendly reminder that unused parameters dont need to all be co…
Browse files Browse the repository at this point in the history
…mmented out
  • Loading branch information
GiudGiud committed Feb 12, 2025
1 parent 3eb4d0b commit d2df16a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/src/parser/Builder.C
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ Builder::errorCheck(const Parallel::Communicator & comm, bool warn_unused, bool
if (_warnmsg.size() > 0)
mooseUnused(_warnmsg);
if (_errmsg.size() > 0)
mooseError(_errmsg);
mooseError(_errmsg +
"\n\nUse --allow-unused (or -w) on the command line to ignore unused parameters.");
}

void
Expand Down

0 comments on commit d2df16a

Please sign in to comment.