Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Sync SYNOPSIS and usage() with reality.
details: https://anonhg.NetBSD.org/src/rev/218bcc51da8b
branches: trunk
changeset: 533513:218bcc51da8b
user: soren <soren%NetBSD.org@localhost>
date: Tue Jul 02 21:34:18 2002 +0000
description:
Sync SYNOPSIS and usage() with reality.
diffstat:
usr.bin/netstat/main.c | 16 ++++++++++------
usr.bin/netstat/netstat.1 | 4 ++--
2 files changed, 12 insertions(+), 8 deletions(-)
diffs (58 lines):
diff -r b0b6696da7dc -r 218bcc51da8b usr.bin/netstat/main.c
--- a/usr.bin/netstat/main.c Tue Jul 02 20:27:44 2002 +0000
+++ b/usr.bin/netstat/main.c Tue Jul 02 21:34:18 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.35 2002/06/11 06:06:19 itojun Exp $ */
+/* $NetBSD: main.c,v 1.36 2002/07/02 21:34:18 soren Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-__RCSID("$NetBSD: main.c,v 1.35 2002/06/11 06:06:19 itojun Exp $");
+__RCSID("$NetBSD: main.c,v 1.36 2002/07/02 21:34:18 soren Exp $");
#endif
#endif /* not lint */
@@ -726,13 +726,17 @@
(void)fprintf(stderr,
"usage: %s [-Aan] [-f address_family] [-M core] [-N system]\n", progname);
(void)fprintf(stderr,
-" %s [-gimnrsSv] [-f address_family] [-M core] [-N system]\n",
+" %s [-bdgiLmnrsSv] [-f address_family] [-M core] [-N system]\n",
progname);
(void)fprintf(stderr,
-" %s [-n] [-I interface] [-M core] [-N system] [-w wait]\n", progname);
+" %s [-dn] [-I interface] [-M core] [-N system] [-w wait]\n", progname);
+ (void)fprintf(stderr,
+" %s [-p protocol] [-M core] [-N system]\n", progname);
(void)fprintf(stderr,
-" %s [-M core] [-N system] [-p protocol]\n", progname);
+" %s [-p protocol] [-M core] [-N system] -P pcbaddr\n", progname);
(void)fprintf(stderr,
-" %s [-M core] [-N system] [-p protocol] -P pcbaddr\n", progname);
+" %s [-p protocol] [-i] [-I Interface] \n", progname);
+ (void)fprintf(stderr,
+" %s [-s] [-f address_family] [-i] [-I Interface]\n", progname);
exit(1);
}
diff -r b0b6696da7dc -r 218bcc51da8b usr.bin/netstat/netstat.1
--- a/usr.bin/netstat/netstat.1 Tue Jul 02 20:27:44 2002 +0000
+++ b/usr.bin/netstat/netstat.1 Tue Jul 02 21:34:18 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: netstat.1,v 1.33 2001/12/01 16:43:21 wiz Exp $
+.\" $NetBSD: netstat.1,v 1.34 2002/07/02 21:34:18 soren Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -46,7 +46,7 @@
.Op Fl M Ar core
.Op Fl N Ar system
.Nm ""
-.Op Fl dgiLmnrsSv
+.Op Fl bdgiLmnrsSv
.Op Fl f Ar address_family
.Op Fl M Ar core
.Op Fl N Ar system
Home |
Main Index |
Thread Index |
Old Index