From: Ian Campbell Subject: Re: [PATCH] xl: rename "list-vm" command to "vm-list" Date: Thu, 28 Jun 2012 08:36:17 +0100 Message-ID: <1340868977.5210.18.camel@dagon.hellion.org.uk> References: <34e47ba2612efdf0b2d6.1340865978@kaos-source-31003.sea31.amazon.com> <1340866756.5210.9.camel@dagon.hellion.org.uk> <20120628072810.GA9080@US-SEA-R8XVZTX> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120628072810.GA9080@US-SEA-R8XVZTX> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Matt Wilson Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2012-06-28 at 08:28 +0100, Matt Wilson wrote: > On Wed, Jun 27, 2012 at 11:59:16PM -0700, Ian Campbell wrote: > > On Thu, 2012-06-28 at 07:46 +0100, Matt Wilson wrote: > > > All of the other "list" verbs are of the form "$noun-list". For > > > example: "pci-list", "vcpu-list", "network-list", "block-list", etc. > > > Additionally, many people have well trained muscle memory from years > > > of typing "xm li". "xl li" was ambiguous due to "xl list-vm" resulted > > > in "command not implemented". > > > > Which did xm have list-vm or vm-list (or neither?) > > Neither. In which case I would ack the patch except you forgot to update docs/man/xl*.pod.? (hrm, somehow list-vm isn't there -- can you add vm-list anyway?) Ian. > > > Aside: I'd love for someone to implement (for 4.3) a better error > > message than "command not implemented". At the least printing out the > > list of clashing options, or even git style "Did you mean" when you make > > a typo. > > That would definitely be nice to have. > > Matt