command output formatting