What happened with the -c argument?

3+ months ago I was able to run Dynare with octave -c 'dynare {example}.mod {args}'.

Now this fails with octave-6.4.0.

/usr/local/libexec/octave/6.4.0/exec/amd64-portbld-freebsd13.0/octave-gui: invalid option -- 'c'

What happened with -c and what is the replacement?

See the documentation for all supported command line arguments:

I can’t find -c in that list…

Octave has never had a -c argument that I can recall. It’s possible that the particular OS distribution involved actually mapped octave to a shell script or alias which did process this option, but that would not be the Octave project’s doing.