Split the pager command to account for any options the user has specified

Fixes #237.