diff mbox series

[iproute] man: update ip-address man page

Message ID 20240725182803.148491-1-stephen@networkplumber.org (mailing list archive)
State Not Applicable
Headers show
Series [iproute] man: update ip-address man page | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Stephen Hemminger July 25, 2024, 6:27 p.m. UTC
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 mbox series

Patch

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