On the official Minecraft Wiki page, it says this about mutually exclusive enchantments for swords:
Sharpness, Smite, and Bane of Arthropods are mutually exclusive. If commands are used to have two or more of these enchantments on the same item, the effects will stack.
When I use command:
/enchant <player name> <enchantment ID> <level ID>
I get this message:
Smite V can't be combined with Sharpness V
What are those commands so two or more mutually exclusive enchantments can be put on the same item?