Add a general paging method to command helper, which is now used by the command help method