git: cd917a17bc39 - main - arp.8: don't document a syntax that doesn't exist

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 09 May 2024 23:28:16 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=cd917a17bc39991bb1ee11b90716bcabfcd42791

commit cd917a17bc39991bb1ee11b90716bcabfcd42791
Author:     Lexi Winter <lexi@le-Fay.ORG>
AuthorDate: 2024-05-09 23:26:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-09 23:26:52 +0000

    arp.8: don't document a syntax that doesn't exist
    
    The arp.8 manpage documents 'arp -d <addr> pub', but the 'pub' flag is
    not accepted by the arp command.  Remove this incorrect documentation.
    
    Reviewed by: imp, gleb, mp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1215
---
 usr.sbin/arp/arp.8 | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8
index e2b81c6a1bb9..d31b2b482ba3 100644
--- a/usr.sbin/arp/arp.8
+++ b/usr.sbin/arp/arp.8
@@ -44,7 +44,6 @@
 .Fl a
 .Nm
 .Fl d Ar hostname
-.Op Cm pub
 .Nm
 .Fl d
 .Op Fl i Ar interface
@@ -95,15 +94,8 @@ A super-user may delete an entry for the host called
 with the
 .Fl d
 flag.
-If the
-.Cm pub
-keyword is specified, only the
-.Dq published
-.Tn ARP
-entry
-for this host will be deleted.
 .Pp
-Alternatively, the
+The
 .Fl d
 flag may be combined with the
 .Fl a