cli: do not return 0 if the command was invalid