Re: [IPROUTE]: Fix up "ip link" help text
From: Stephen Hemminger <hidden>
Date: 2008-10-13 18:07:49
On Mon, 13 Oct 2008 19:17:00 +0200 Arkadiusz Miskiewicz [off-list ref] wrote:
On Monday 13 of October 2008, Stephen Hemminger wrote:quoted
On Tue, 07 Oct 2008 23:02:17 +0200 Patrick McHardy [off-list ref] wrote:quoted
Arkadiusz Miskiewicz wrote:quoted
Runtime dependand help doesn't look sane. Help should always show all possible options/command while trying to use unsupported option should display error message.That makes sense. But don't complain to me about the quality of the error messages afterwards please :)I applied a variant of Patrick's original patch. I added text for delete, and avoided some code movement. The help text should only show what is supported otherwise there will be user complaints.Too bad. Help should show all options while trying to use unsupported ones should yeld "unsupported"/some error message. Will ipv6 options etc, etc also be hidden when ipv6 not available?
The options won't show on older kernels. It is not a kernel config option difference, it is old legacy code, like back to 2.4 where the API's just aren't there.