numam-dpdk/usertools
Thomas Monjalon b41bd04636 usertools/hugepages: show usage if no action specified
Previously, the script was doing nothing if no argument was provided.

If neither show, mount/unmount, clear/reserve are specified,
it is assumed that the user does not know how to use the script.
So the usage and an error message are printed.
The exit code will be non-zero.
The user will understand something is wrong,
and can recall the script with the option -h to get more information.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: David Marchand <david.marchand@redhat.com>
2022-11-22 16:42:07 +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/devbind: support virtio block device 2022-06-01 11:50:10 +02:00
dpdk-hugepages.py usertools/hugepages: show usage if no action specified 2022-11-22 16:42:07 +01:00
dpdk-pmdinfo.py usertools/pmdinfo: rewrite simpler script 2022-10-11 02:11:33 +02:00
dpdk-telemetry-client.py usertools: remove unnecessary parens and else 2020-11-22 22:14:12 +01:00
dpdk-telemetry.py usertools/telemetry: add JSON pretty print 2022-10-31 16:13:55 +01:00
meson.build build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00