liuhaiwei9699 <liuhaiwei9...@126.com> writes: > why the hmp using the object_add , qmp using the object-add command? > can't we use the same command ?
Command names differ between HMP and QMP for historical reasons. QMP is a stable interface, and changing names there is no go. HMP is not a stable interface, but changing names would still inconvenience users. We don't do that without really compelling reasons. I think HMP could fold '_' and '-' together in command names, so that both object_add and object-add work. Best to check with the HMP maintainer before you start coding.