numam-dpdk/usertools
Stephen Hemminger 81255f27c6 usertools: replace optparse with argparse
The optparse module is deprecated and replaced with new argparse.
Using the python standard argument parser instead of C library
style getopt gives a number of advantages such as checking
for conflicting arguments, restricting choices, and automatically
generating help messages.

Some of the help messages are now less wordy.

The code now enforces the rule that only one of the pmdinfo formats
can be specified: raw or json.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-11-22 22:16:04 +01:00
..
cpu_layout.py usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
dpdk-devbind.py usertools: replace optparse with argparse 2020-11-22 22:16:04 +01:00
dpdk-pmdinfo.py usertools: replace optparse with argparse 2020-11-22 22:16:04 +01:00
dpdk-setup.sh usertools: warn about future removal of setup script 2020-08-07 13:39:45 +02:00
dpdk-telemetry-client.py usertools: remove unnecessary parens and else 2020-11-22 22:14:12 +01:00
dpdk-telemetry.py support python 3 only 2020-10-02 13:51:00 +02:00
meson.build usertools: add new telemetry script 2020-05-10 23:56:47 +02:00