summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-08-14 09:29:01 +0200
committerStephen Hemminger <stephen@networkplumber.org>2023-08-19 09:13:36 -0700
commit872148f54e35cb13aa6c9e48e52306cd469aaa53 (patch)
tree5fb92c4f3219de9aa5f4aeb188cc19c396ae7270
parentf848310a72791a2c2a9928a44feb81690b8dc9c9 (diff)
devlink: spell out STATE in devlink port function help
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@nvidia.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--devlink/devlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devlink/devlink.c b/devlink/devlink.c
index 26513142..912ac19e 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -4858,7 +4858,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");
}