better command-line output