Yep, that deletes files on the receiving side that don't exist on the sending side
I use --delete-after but that's just my preference.
--delete delete files that don't exist on the sending side
--delete-before receiver deletes before transfer (default)
--delete-during receiver deletes during transfer, not before
--delete-after receiver deletes after transfer, not before