[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230814072901.1865650-1-jiri@resnulli.us>
Date: Mon, 14 Aug 2023 09:29:01 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: stephen@...workplumber.org,
dsahern@...il.com
Subject: [patch iproute2-next] devlink: spell out STATE in devlink port function help
From: Jiri Pirko <jiri@...dia.com>
Be in-sync with port help and port man page and spell out the possible
states instead of "STATE".
Signed-off-by: Jiri Pirko <jiri@...dia.com>
---
devlink/devlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devlink/devlink.c b/devlink/devlink.c
index 3cb102736b19..1a522111385b 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -4962,7 +4962,7 @@ static int cmd_port_param_show(struct dl *dl)
static void cmd_port_function_help(void)
{
- pr_err("Usage: devlink port function set DEV/PORT_INDEX [ hw_addr ADDR ] [ state STATE ]\n");
+ pr_err("Usage: devlink port function set DEV/PORT_INDEX [ hw_addr ADDR ] [ state { active | inactive } ]\n");
pr_err(" [ roce { enable | disable } ] [ migratable { enable | disable } ]\n");
pr_err(" devlink port function rate { help | show | add | del | set }\n");
}
--
2.41.0
Powered by blists - more mailing lists