diff options
author | Stefan Raspl <raspl@de.ibm.com> | 2020-03-06 12:42:45 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-23 15:44:20 -0400 |
commit | 0e6618fba8c98223e17d57d68b7b834e1eb89612 (patch) | |
tree | 7c341d89cfb6aeab6b4e806cb6c1a768a4452c74 /drivers/s390 | |
parent | eecda7a95646a4590ea02545d15d73cdcdf8beb1 (diff) | |
download | linux-0e6618fba8c98223e17d57d68b7b834e1eb89612.tar.bz2 |
tools/kvm_stat: switch to argparse
optparse is deprecated for a while, hence switching over to argparse
(which also works with python2).
As a consequence, help output has some subtle changes, the most
significant one being that the options are all listed explicitly
instead of a universal '[options]' indicator. Also, some of the error
messages are phrased slightly different.
While at it, squashed a number of minor PEP8 issues.
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Message-Id: <20200306114250.57585-3-raspl@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions