summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-07 12:00:50 +0000
committerru <ru@FreeBSD.org>2001-09-07 12:00:50 +0000
commit63326af6cd5d7d77a690b61ec9797fbd94a36ad0 (patch)
treeeffc196829f7d31cec8a88b1e38317340096ff7b /usr.bin/netstat/main.c
parent733af41f5a8c821afd7b0bfc9fc0e9db8b770646 (diff)
downloadFreeBSD-src-63326af6cd5d7d77a690b61ec9797fbd94a36ad0.zip
FreeBSD-src-63326af6cd5d7d77a690b61ec9797fbd94a36ad0.tar.gz
Deprecate the -l option in favour of more natural -W.
The compatibility glue is still provided. (This change is not yet reflected in the manpage, nor in usage(). This will be fixed at a later time today, with the general manpage cleanup commit.)
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r--usr.bin/netstat/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 30dfaa8..d2242d4 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -322,7 +322,6 @@ int bflag; /* show i/f total bytes in/out */
int dflag; /* show i/f dropped packets */
int gflag; /* show group (multicast) routing or stats */
int iflag; /* show interfaces */
-int lflag; /* show routing table with use and ref */
int Lflag; /* show size of listen queues */
int mflag; /* show memory stats */
int numeric_addr; /* show addresses numerically */
@@ -413,9 +412,6 @@ main(argc, argv)
case 'i':
iflag = 1;
break;
- case 'l':
- lflag = 1;
- break;
case 'L':
Lflag = 1;
break;
@@ -455,6 +451,7 @@ main(argc, argv)
af = AF_UNIX;
break;
case 'W':
+ case 'l':
Wflag = 1;
break;
case 'w':
OpenPOWER on IntegriCloud