cmd: Detect lack of space between cmd and data

sayhi would send chat message 'i'. It should be an error; there must
be a space between the command and the data.