From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ORo-0003At-5b for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2ORl-0006Fu-M6 for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:31:24 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2ORl-0006Fn-E3 for qemu-devel@nongnu.org; Thu, 25 Jul 2013 12:31:21 -0400 Message-ID: <51F151A5.1080903@redhat.com> Date: Thu, 25 Jul 2013 10:26:13 -0600 From: Eric Blake MIME-Version: 1.0 References: <1374284656-12025-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1374284656-12025-12-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1374284656-12025-12-git-send-email-xiawenc@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OQWRmdrkr2C5jKs1tsS0vI2I29WTLfxv2" Subject: Re: [Qemu-devel] [PATCH V7 11/13] monitor: support sub command in auto completion List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: armbru@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OQWRmdrkr2C5jKs1tsS0vI2I29WTLfxv2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/19/2013 07:44 PM, Wenchao Xia wrote: > This patch allow auto completion work normal for sub command case, s/allow/allows/ > "info block [DEVICE]" can auto complete now, by re-enter the completion= > function. In original code "info" is treated as a special case, now it > is treated as a sub command group, global variable info_cmds is not use= d > any more. >=20 > "help" command is still treated as a special case, since it is not a su= b > command group but want to auto complete command in root command table. >=20 > Signed-off-by: Wenchao Xia > --- > monitor.c | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --OQWRmdrkr2C5jKs1tsS0vI2I29WTLfxv2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJR8VGlAAoJEKeha0olJ0Nqr+MIAJZEF5VzhK4U7+BULVmI6c7X OVVhmHq4dnnBklPJP3uBti3BS11TJDIoVh6B4o0DclNUqzmWJjpoEKsmaw0MwG3M fRUQnF9ZkQ89inwPMj3HA4+hichQddnj2KuWhXzLX8nPqlpJ5CuZT1lmibNH/Miv lNARjRtW7gQLVOCMWrP+gE6K2ZHRiQDnXpwTF/jqG1exF7mj0Y3kEf30XbyO50gq bKtI2/8seL4rnqV8OKNU9EyWQP4+zBCdszEgP3B0kEXErj8lryyepKtv2AeZiAkw PCpVuxOoPzrZ3BISa+OiHabf+Sqn4EVCo8oUq/PKVcjQlLL0EST4cRrrjQ4ewIo= =MepZ -----END PGP SIGNATURE----- --OQWRmdrkr2C5jKs1tsS0vI2I29WTLfxv2--