qapi: check invalid arguments on no-args commands