[cli] fix extra attr
Add partial XPath documentation. Need to be improved...