Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2025 07:11:49 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3bcb5b7adc77 - stable/14 - arp.8: don't document a syntax that doesn't exist
Message-ID:  <202510160711.59G7Bnqf061459@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by eugen:

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

commit 3bcb5b7adc77085580817b2543d3e6a4cdffb94b
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2024-05-09 23:26:41 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2025-10-16 07:11:33 +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
    
    (cherry picked from commit cd917a17bc39991bb1ee11b90716bcabfcd42791)
---
 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 3f61c0cd9ecc..ad03a554f527 100644
--- a/usr.sbin/arp/arp.8
+++ b/usr.sbin/arp/arp.8
@@ -46,7 +46,6 @@
 .Fl a
 .Nm
 .Fl d Ar hostname
-.Op Cm pub
 .Nm
 .Fl d
 .Op Fl i Ar interface
@@ -97,15 +96,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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510160711.59G7Bnqf061459>