use on_missing_cmd* functions for the pretty printer