$ which -a nvim
/snap/bin/nvim
$ echo hi | ~/.local/bin/nvimpager
error: unknown flag `R'
$ (exec -a nvimpager nvim -R)
error: unknown flag `R'
$ (exec -a nvimpager nvim)
The snap command lets you install, configure, refresh and remove snaps.
...
$ snap -R
error: unknown flag `R'
Kubuntu 22.04.1: