Skip to contentSkip to conversation

man: update ip-address man page

PATCH New Stephen Hemminger 1 participant 1 message Jul 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man: update ip-address man page

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")
---
 man/man8/ip-address.8.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
man/man8/ip-address.8.in +5 -5
index a5ae47ac..d37dddb7 100644
@@ -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
Signature · 1 line
2.43.0