There is no such option "--loading-via-parent-root"
Check for existing options here:
https://www.postgresql.org/docs/14/app-pgdump.html
It’s actually named —load-via-partition-root ; close enough if going from memory I’d say…but better still to copy and paste real commands or reproducible scripts.
David J.