Re: [PATCH bpf-next] tools: bpftool: clean subcommand help messages

2020-05-25 Thread Daniel Borkmann
On 5/23/20 3:07 AM, Quentin Monnet wrote: This is a clean-up for the formatting of the do_help functions for bpftool's subcommands. The following fixes are included: - Do not use argv[-2] for "iter" help message, as the help is shown by default if no "iter" action is selected, resulting in me

[PATCH bpf-next] tools: bpftool: clean subcommand help messages

2020-05-22 Thread Quentin Monnet
This is a clean-up for the formatting of the do_help functions for bpftool's subcommands. The following fixes are included: - Do not use argv[-2] for "iter" help message, as the help is shown by default if no "iter" action is selected, resulting in messages looking like "./bpftool bpftool pin.