On 8 June 2015 at 16:50, Liviu Ionescu <i...@livius.net> wrote: > >> On 08 Jun 2015, at 18:21, Peter Maydell <peter.mayd...@linaro.org> wrote: >> >> ... 'readline' mode and 'control' mode. >> The latter won't have the cursor-editing, but it's the QMP >> protocol monitor (intended for controlling QEMU from other programs, >> different syntax to the human monitor protocol). > >> -chardev stdio,id=monchr -mon chardev=monchr,mode=control > > this great syntax is accepted, but, unless I'm expected to enter json > formatted strings, the behaviour is definitely not for humans
Yes, that was my point. You ought ideally to be able to say 'hmp but no readline', but our command line parsing conflates the two things. -- PMM