pretty print info cmd