diff options
author | Stefan Raspl <[email protected]> | 2020-03-06 12:42:45 +0100 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-03-23 15:44:20 -0400 |
commit | 0e6618fba8c98223e17d57d68b7b834e1eb89612 (patch) | |
tree | 7c341d89cfb6aeab6b4e806cb6c1a768a4452c74 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eecda7a95646a4590ea02545d15d73cdcdf8beb1 (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions