From: Ingo Molnar Subject: Re: [PATCH 1/2] kvm tools: remove unused options Date: Wed, 10 Aug 2011 10:30:40 +0200 Message-ID: <20110810083039.GB26762@elte.hu> References: <1312901814-5445-1-git-send-email-walimisdev@gmail.com> <20110809154135.GC7867@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: walimis , Cyrill Gorcunov , Sasha Levin , Prasad Joshi , Asias He , kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:45775 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866Ab1HJIbc (ORCPT ); Wed, 10 Aug 2011 04:31:32 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: * Pekka Enberg wrote: > On Tue, 9 Aug 2011, Ingo Molnar wrote: > >>kvm "--help" and "--version" are not implemented, so remove them to > >>avoid ambiguous. > > > >would be nice to implement them: 'kvm --help' should probably map to > >'kvm help', and 'kvm --version' should output something similar to > >what 'perf --version' does: > > > >$ perf --version > >perf version 3.1.rc1.1356.g57e4aa > > > >which is derived from the base kernel sha1. > > We already have that :-) > > $ ./kvm version > 3.0.rc5.755.ge8c28 Yeah - but --version is also a common thing to type. So in perf we support both (Git does the same): $ perf version perf version 3.1.rc1.1356.g57e4aa $ perf --version perf version 3.1.rc1.1356.g57e4aa $ git version git version 1.7.6 $ git --version git version 1.7.6 $ Btw., it might also be better to output: kvm version 3.0.1614.geb2e2c Instead of the current: 3.0.1614.geb2e2c Thanks, Ingo