[PATCH] netstat: fix -r usage
Denys Vlasenko
vda.linux at googlemail.com
Wed Oct 27 00:13:22 UTC 2010
On Tuesday 26 October 2010 11:42, Bob Dunlop wrote:
> Building with CONFIG_NETSTAT but not CONFIG_ROUTE you get the following
> incorrect usage message:
>
> # netstat -r
> netstat: invalid option -- 'r'
> BusyBox v1.17.1 (2010-10-26 10:22:47 BST) multi-call binary.
>
> Usage: netstat [-laentuwxrWp]
>
> Display networking information
>
> Options:
> -l Display listening server sockets
> -a Display all sockets (default: connected)
> -e Display other/more information
> -n Don't resolve names
> -t Tcp sockets
> -u Udp sockets
> -w Raw sockets
> -x Unix sockets
> -r Display routing table
> -W Display with no column truncation
> -p Display PID/Program name for sockets
>
> Notice the -r option is still documented. Seen in 1.15.3 and 1.17.1,
> this patch is a fix for 1.17.1
Applied with some changes, thanks!
--
vda
More information about the busybox
mailing list