Cli: add endl after error