What I expected to happen was it would show me nothing
What actually happened was on any kind of armor it showed sharpness
Steps to Reproduce:
1. Pick a sharpness or any other kind of book in anvil
2.put the armor in.
3.you will get armor with sharpness.
Can replicate, but I can't necessarily confirm it to be a bug; armor can get sword enchantments like sharpness and swords can get armor enchantments like protection despite the command /enchant not accomplishing the same tasks (I.E, you can combine fire protection onto a sword, but you can't /enchant it onto one). This may be intended behavior or it may be a bug.