From: Jiri Pirko Date: Mon, 14 Aug 2023 07:29:01 +0000 (+0200) Subject: devlink: spell out STATE in devlink port function help X-Git-Tag: v6.5.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=872148f54e35cb13aa6c9e48e52306cd469aaa53;p=thirdparty%2Fiproute2.git 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 Signed-off-by: Stephen Hemminger --- diff --git a/devlink/devlink.c b/devlink/devlink.c index 26513142f..912ac19e4 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"); }