fix documentation type for overwrite param in register_parser function