[...]
> static void help(void)
> {
> pr_err("Usage: devlink [ OPTIONS ] OBJECT { COMMAND | help }\n"
> " devlink [ -f[orce] ] -b[atch] filename\n"
>- "where OBJECT := { dev | port | sb | monitor | dpipe | resource
>| region }\n"
>+ "where OBJECT := { dev | port | sb | monitor | dpipe | resource
>| region | info }\n"
I think that "info" should be nested under "dev". It is related to dev.
Maybe it even does not have to be a separate command and can be a nested
attribute to existing DEVLINK_CMD_GET cmd.
> " OPTIONS := { -V[ersion] | -n[o-nice-names] | -j[son] |
> -p[retty] | -v[erbose] }\n");
> }