improve formatting for command-line interface