third argument to -r sets `entry`

Fixes #1000