Add the paging to the log and diff commands.