Handle carriage return in CLI output

Remove the carriage return in the console output.