Re: [PATCH] usertools/hugepages: show usage if no action specified

2022-11-22 Thread Thomas Monjalon
07/11/2022 10:39, Robin Jarry: > Thomas Monjalon, Nov 04, 2022 at 12:30: > > 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 usa

Re: [PATCH] usertools/hugepages: show usage if no action specified

2022-11-07 Thread Robin Jarry
Thomas Monjalon, Nov 04, 2022 at 12:30: > 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 is printed and an error code is used in

[PATCH] usertools/hugepages: show usage if no action specified

2022-11-04 Thread Thomas Monjalon
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 is printed and an error code is used in exit. The user will understand something is wrong