[PATCH iproute] man: update ip-address man page
From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2024-07-25 18:28:14
Subsystem:
the rest · Maintainer:
Linus Torvalds
The ip address man page had some small things that needed update:
- ip address delete without address returns not supported
- always use full words for commands in man pages
(ie "delete" not "del")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
man/man8/ip-address.8.in | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/man/man8/ip-address.8.in b/man/man8/ip-address.8.in
index a5ae47ac..d37dddb7 100644
--- a/man/man8/ip-address.8.in
+++ b/man/man8/ip-address.8.in@@ -19,7 +19,7 @@ ip-address \- protocol address management .RI "[ " LIFETIME " ] [ " CONFFLAG-LIST " ]" .ti -8 -.BR "ip address del" +.BR "ip address delete" .IB IFADDR " dev " IFNAME " [ " mngtmpaddr " ]" .ti -8
@@ -331,9 +331,9 @@ to assign (or not to assign) protocol tags. .SS ip address delete - delete protocol address .B Arguments: coincide with the arguments of -.B ip addr add. -The device name is a required argument. The rest are optional. -If no arguments are given, the first address is deleted. +.B ip address add. +.sp +The device name is a required argument. .SS ip address show - look at protocol addresses
@@ -444,7 +444,7 @@ This is an alias for .BI proto " ADDRPROTO" Only show addresses with a given protocol, or those for which the kernel response did not include protocol. See the corresponding argument to -.B ip addr add +.B ip address add for details about address protocols. .SS ip address flush - flush protocol addresses
--
2.43.0