In main.c, this app is calling app->setCheckUnusedFlag(true), which prevents --allow-unused from working at all, even on the command line. Since MOOSE already sets this flag by default, this line is superfluous, but worse yet, it actually prevents the opposite behavior (allowing warnings for unused parameters) from being able to work, as the call in main.C overrides anything on the CLI.
In main.c, this app is calling
app->setCheckUnusedFlag(true)
, which prevents--allow-unused
from working at all, even on the command line. Since MOOSE already sets this flag by default, this line is superfluous, but worse yet, it actually prevents the opposite behavior (allowing warnings for unused parameters) from being able to work, as the call in main.C overrides anything on the CLI.A MOOSE PR is privating this function so it can no longer be used outside of MOOSE's setting of the flag: https://github.com/idaholab/moose/pull/23392
In order to merge it, the line needs to be removed from this app.