Would you mind please changing the suggested
To
DIFFPROG=meld pacdiff -s
This way the user can actually make/save changes when viewing the diffs.
(The s flag means it will use sudo, or actually sudoedit to work on temporary files and then apply changes afterwards using sudo.)
Without it the ‘view’ option really is just a view, and other functions like ‘remove’ wont work.
This may also have the result of users attempting to somehow ‘sudo pacdiff’ which wont be the correct approach.