Print doc for aliases if provided, closes #1116.