Better printout layout in getcommand.
Merge pull request #4343 from AndresTanasijczuk/getcmd

Better printout layout in getcommand.