summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.1
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-03-15 20:46:04 +0000
committerdes <des@FreeBSD.org>2001-03-15 20:46:04 +0000
commitcd8d72036779073e9a559040e5b29558621cdc99 (patch)
tree3f4a6ecbb973b94f218b84036441521df917e981 /usr.bin/netstat/netstat.1
parent5848bb858cf31a463c79467310f42ac79bb149a5 (diff)
downloadFreeBSD-src-cd8d72036779073e9a559040e5b29558621cdc99.zip
FreeBSD-src-cd8d72036779073e9a559040e5b29558621cdc99.tar.gz
Add a -W flag that tells netstat not to truncate addresses even if they are
too long for the column they're printed in. Move variable definitions out of netstat.h and into main.c. Clean up some warnings.
Diffstat (limited to 'usr.bin/netstat/netstat.1')
-rw-r--r--usr.bin/netstat/netstat.15
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 2568227..f81c055 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -40,7 +40,7 @@
.Nd show network status
.Sh SYNOPSIS
.Nm
-.Op Fl AaLln
+.Op Fl AaLlnW
.Op Fl f Ar address_family
.Op Fl M Ar core
.Op Fl N Ar system
@@ -256,6 +256,9 @@ When
is also present,
.Nm
assumes more columns are there.
+.It Fl W
+In certain displays, avoid truncating addresses even if this causes
+some fields to overflow.
.It Fl w Ar wait
Show network interface statistics at intervals of
.Ar wait
OpenPOWER on IntegriCloud