monitor: print message when using 'help' with an unknown command
commit43e87b3eaf90763822457a0f8b582dcc2d774179
authorCollin Walling <walling@linux.ibm.com>
Fri, 20 Jul 2018 19:40:24 +0000 (20 15:40 -0400)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 25 Sep 2018 13:48:44 +0000 (25 14:48 +0100)
treec4c88257ddbf56b48d7ff2b2716fde53d1d734fa
parent506e4a00de01e0b29fa83db5cbbc3d154253b4ea
monitor: print message when using 'help' with an unknown command

When typing 'help' followed by an unknown command, QEMU will
not print anything to the command line to let the user know
they typed a bad command. Let's fix this by printing a message
to the monitor when this happens. For example:

    (qemu) help xyz
    unknown command: 'xyz'

Reported-by: Stefan Zimmermann <stzi@linux.ibm.com>
Signed-off-by: Collin Walling <walling@linux.ibm.com>
Message-Id: <1532115624-27568-1-git-send-email-walling@linux.ibm.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
monitor.c