From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So9JJ-0006Lc-MJ for qemu-devel@nongnu.org; Mon, 09 Jul 2012 04:27:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1So9JF-0007tX-PL for qemu-devel@nongnu.org; Mon, 09 Jul 2012 04:27:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1So9JF-0007tO-HU for qemu-devel@nongnu.org; Mon, 09 Jul 2012 04:27:09 -0400 Date: Mon, 9 Jul 2012 09:27:00 +0100 From: "Daniel P. Berrange" Message-ID: <20120709082700.GC16198@redhat.com> References: <20120708171618.6082.1347.malonedeb@gac.canonical.com> <20120708194431.821.97538.malone@wampee.canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [Bug 1022331] Re: -cpu ? causes confusion when directory has 1-character length filenames Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Bug 1022331 <1022331@bugs.launchpad.net>, qemu-devel@nongnu.org On Sun, Jul 08, 2012 at 11:45:34PM +0100, Peter Maydell wrote: > On 8 July 2012 20:44, Michael Tokarev <1022331@bugs.launchpad.net> wrote: > > Please take this to your shell. The queston mark is a metacharacter for > > any *nix shell, you should just quote or backslash it. The same > > question mark is not special on windows. > > I think it's a legitimate complaint to say that this is not fantastically > friendly UI on QEMU's part though. (I've been bitten by it myself and > I've been dealing with Bourne shells for over a decade.), Picking a > string that requires metacharacter-quoting in the major shell most > people use is just a silly choice. > > I've thought before that we ought to make sure we have synonyms (eg 'help') > for all the list things that currently want '?'. Then we could mark '?' > as deprecated or present for back-compatibility only. Or just introduce another character as an alternative to '?', eg '-' or even accept the string 'help' eg "-cpu help" Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|