Given a user with a role of Editor, running wp user remove-cap publish_posts <user> will incorrectly show a success message stating that the capability has been removed.
Attempting to remove any capability which is not directly assigned to the user (most capabilities are inherited from the user's role) will incorrectly result in a success message.