* Pekka Enberg <[email protected]> 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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html