From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
To: stephen@networkplumber.org
Cc: netdev@vger.kernel.org, dsahern@gmail.com,
Simon Horman <simon.horman@corigine.com>,
Nicolas Dichtel <nicolas.dichtel@6wind.com>
Subject: [PATCH iproute2 v2 1/2] iplink: use the same token NETNSNAME everywhere
Date: Thu, 20 Apr 2023 10:48:48 +0200 [thread overview]
Message-ID: <20230420084849.21506-2-nicolas.dichtel@6wind.com> (raw)
In-Reply-To: <20230420084849.21506-1-nicolas.dichtel@6wind.com>
Use NETNSNAME everywhere to ensure consistency between man pages and help
of the 'ip' command.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
---
ip/iplink.c | 4 ++--
man/man8/ip-link.8.in | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ip/iplink.c b/ip/iplink.c
index a8da52f9f7ca..8755fa076dab 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -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"
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index c8c656579364..a4e0c4030363 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -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
--
2.39.2
next prev parent reply other threads:[~2023-04-20 8:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 8:48 [PATCH iproute2 v2 0/2] iplink: update doc related to the 'netns' arg Nicolas Dichtel
2023-04-20 8:48 ` Nicolas Dichtel [this message]
2023-04-20 8:48 ` [PATCH iproute2 v2 2/2] iplink: fix help of " Nicolas Dichtel
2023-04-20 11:27 ` Simon Horman
2023-04-20 15:00 ` Nicolas Dichtel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230420084849.21506-2-nicolas.dichtel@6wind.com \
--to=nicolas.dichtel@6wind.com \
--cc=dsahern@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=simon.horman@corigine.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).