On 05/13/10 15:33, Daniel P. Berrange wrote: > This omits the KVM version string which is something we also want to see. > It would also be nice to avoid having to parse the -help output to determine > ARGV supported too. I wonder if it would be a good idea to just produce a > well structured equivalent to -help that provides the same data, but in > JSON format for sane parsing. That would let peple easily determine the > supported ARGV as well as version number(s)
I just made it print the version numbers that were already part of the regular string, but I see no problem adding a KVM version number to the output as well. As for the JSON stuff, then I'll volunteer you to write the patch for it :) To be honest, I have no clue what JSON is! Cheers, Jes