dump_limits: support printing limits to stdout