On Tue, Aug 08, 2017 at 05:39:31PM -0300, Eduardo Habkost wrote: > It makes command-line parsing and generation of help text much > simpler. > > The optparse module is deprecated since Python 2.7, but argparse > is not available in Python 2.6 (the minimum Python version > required for building QEMU). > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > Changes v1 -> v2: > * Use optparse module, as the minimum Python version for building > QEMU is 2.6 > * Reported-by: Stefan Hajnoczi <stefa...@gmail.com> > * Suggested-by: "Daniel P. Berrange" <berra...@redhat.com> > --- > scripts/qmp/qmp-shell | 63 > +++++++++++++++++++-------------------------------- > 1 file changed, 23 insertions(+), 40 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature