From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCxwO-0002pl-2E for qemu-devel@nongnu.org; Thu, 21 Apr 2011 13:45:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCxwM-0004qs-RL for qemu-devel@nongnu.org; Thu, 21 Apr 2011 13:45:19 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCxwM-0004qO-Cm for qemu-devel@nongnu.org; Thu, 21 Apr 2011 13:45:18 -0400 Message-ID: <4DB06D28.1040007@mail.berlios.de> Date: Thu, 21 Apr 2011 19:45:12 +0200 From: Stefan Weil MIME-Version: 1.0 References: <1303391455-5289-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1303391455-5289-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] configure: Support --target-list=? to list available targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org Am 21.04.2011 15:10, schrieb Peter Maydell: > Add support for getting configure to print the list of all targets > that can be built, via the option '--target-list=?'. > > Signed-off-by: Peter Maydell > --- > Yes, you can get the list of targets by running configure without > any arguments and then scrolling up to find the target list in > the screenful of output, but I think this is a bit more user-friendly. > > configure | 36 ++++++++++++++++++++++-------------- > 1 files changed, 22 insertions(+), 14 deletions(-) The qemu executable supports this use pattern (-cpu ?), but it's unusual for configure. Other options (--audio-drv-list=LIST, --audio-card-list=LIST) show the available values in the help message (configure --help). What about a similar help text for --target-list? Like this: --target-list=LIST set target list [] Available targets: i386-softmmu ... i386-linux-user ... Users would not have to call configure twice to get the list of available targets (the first call is configure --help because they don't know whether it is --target, --targets, --targetlist or --target-list).