update-all-hooks: support --dry-run and out-of-date mob hooks