less with disabled options show help for them
David Balažic
xerces9 at gmail.com
Sun Jun 2 23:41:52 UTC 2013
This is still printed in the latest version even if search
(FEATURE_LESS_REGEXP) is not configured:
"-I Ignore case in all searches"
Regards,
David
On 2 June 2013 05:19, Mike Frysinger <vapier at gentoo.org> wrote:
> On Saturday 01 June 2013 09:08:25 David Balažic wrote:
>> Can anyone confirm, that in such case the help text (less -h) still
>> shows those options (-M and -I) ?
>
> well, anyone with a web browser can check the code:
> http://git.busybox.net/busybox/tree/miscutils/less.c?id=1_19_4#n103
>
>> If so, please consider removing them together with the actual function
>> when configured so.
>
> generally you should check the latest version before reporting bugs. most
> people don't care about anything other than the latest release (or git).
>
> and indeed, it's already fixed:
> http://git.busybox.net/busybox/tree/miscutils/less.c#n100
> (and if you look at other versions, it was fixed in the very first 1.20.x
> release)
> -mike
More information about the busybox
mailing list