Improved cli error handling

This commit is contained in:
2020-12-16 15:13:18 +01:00
parent acfe158470
commit bbd0a0f4c4
3 changed files with 7 additions and 0 deletions

View File

@@ -24,5 +24,7 @@ class Interpreter:
cmd.run(args)
else:
Console.error(f'Unexpected command {command}')
Console.error('Run \'cpl help\'')
else:
Console.error(f'Unexpected command {command}')
Console.error('Run \'cpl help\'')