Added a deprecation warning for the command dumper

This fixes #12620