From: jmc Date: Fri, 23 Dec 2022 07:18:46 +0000 (+0000) Subject: remove "-p protocol" from the -r synopsis: it no longer makes sense X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=29216d8731b335c0040071d55b661472a18c905d;p=openbsd remove "-p protocol" from the -r synopsis: it no longer makes sense pointed out by pguemther ok pguenther kn claudio --- diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 85cf5de1c15..801de7fc7ff 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.123 2022/12/04 23:50:48 cheloha Exp $ */ +/* $OpenBSD: main.c,v 1.124 2022/12/23 07:18:46 jmc Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -485,8 +485,7 @@ usage(void) " netstat -s [-gru] [-f address_family] [-p protocol]\n" " netstat -g [-lnu] [-f address_family]\n" " netstat -R\n" - " netstat -r [-AFu] [-f address_family] [-M core] [-N system] [-p protocol]\n" - " [-T rtable]\n" + " netstat -r [-AFu] [-f address_family] [-M core] [-N system] [-T rtable]\n" " netstat -P pcbaddr [-v] [-M core] [-N system]\n"); exit(1); } diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1 index 789aa0999b1..656627dd404 100644 --- a/usr.bin/netstat/netstat.1 +++ b/usr.bin/netstat/netstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: netstat.1,v 1.96 2022/12/22 07:23:29 jmc Exp $ +.\" $OpenBSD: netstat.1,v 1.97 2022/12/23 07:18:46 jmc Exp $ .\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $ .\" .\" Copyright (c) 1983, 1990, 1992, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)netstat.1 8.8 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: December 22 2022 $ +.Dd $Mdocdate: December 23 2022 $ .Dt NETSTAT 1 .Os .Sh NAME @@ -72,7 +72,6 @@ .Op Fl f Ar address_family .Op Fl M Ar core .Op Fl N Ar system -.Op Fl p Ar protocol .Op Fl T Ar rtable .Nm .Fl P Ar pcbaddr