> A Debian user noticed that --exclude options are not used when
> rsync is used. Indeed, I see that RsyncP.pm removes this option,
> but the documentation recommends using --exclude.
> I think that the documentation should be fixed.
No, it is correct. Yes, the code does remove the --exclude and
--include arguments from the command line it uses to invoke the
remote rsync, but that's because they are passed directly over
the rsync connection, not using the command-line.