]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
iplink: use the same token NETNSNAME everywhere
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 21 Apr 2023 07:47:19 +0000 (09:47 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 22 Apr 2023 03:13:03 +0000 (20:13 -0700)
Use NETNSNAME everywhere to ensure consistency between man pages and help
of the 'ip' command.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/iplink.c
man/man8/ip-link.8.in

index 3910b62478c3ccf72d950cea85f12dcd43cc4abc..0aaca35056cd729543151f1a1982f094d3870a53 100644 (file)
@@ -63,7 +63,7 @@ void iplink_usage(void)
                        "                   [ mtu MTU ] [index IDX ]\n"
                        "                   [ numtxqueues QUEUE_COUNT ]\n"
                        "                   [ numrxqueues QUEUE_COUNT ]\n"
-                       "                   [ netns { PID | NAME } ]\n"
+                       "                   [ netns { PID | NETNSNAME } ]\n"
                        "                   type TYPE [ ARGS ]\n"
                        "\n"
                        "       ip link delete { DEVICE | dev DEVICE | group DEVGROUP } type TYPE [ ARGS ]\n"
@@ -88,7 +88,7 @@ void iplink_usage(void)
                "               [ address LLADDR ]\n"
                "               [ broadcast LLADDR ]\n"
                "               [ mtu MTU ]\n"
-               "               [ netns { PID | NAME } ]\n"
+               "               [ netns { PID | NETNSNAME } ]\n"
                "               [ link-netns NAME | link-netnsid ID ]\n"
                "               [ alias NAME ]\n"
                "               [ vf NUM [ mac LLADDR ]\n"
index c8c656579364f7015f06b619198ad279541b86d3..a4e0c4030363e775d83840a436ac89d0451f8584 100644 (file)
@@ -465,7 +465,7 @@ specifies the desired index of the new virtual device. The link
 creation fails, if the index is busy.
 
 .TP
-.BI netns " { PID | NAME } "
+.BI netns " { PID | NETNSNAME } "
 specifies the desired network namespace to create interface in.
 
 .TP