Re: [PATCH] libbb: make '--help' handling more consistent

2022-08-30 Thread Denys Vlasenko
Fixed in git On Thu, Aug 25, 2022 at 7:26 AM Harald van Dijk wrote: > > This breaks the [ command. Previously, [ --help would show help, which > is okay as an extension since it is not valid with the standard [ > command. This change makes [ --help ] also show help, when it is > required to just

Re: [PATCH] libbb: make '--help' handling more consistent

2022-08-22 Thread Denys Vlasenko
Applied, thank you On Sun, May 1, 2022 at 10:46 AM Ron Yorston wrote: > > Running an applet with '--help' as its only argument is treated > as a special case. If additional arguments follow '--help' the > behaviour is inconsistent: > > - applets which call single_argv() print help and do

[PATCH] libbb: make '--help' handling more consistent

2022-05-01 Thread Ron Yorston
Running an applet with '--help' as its only argument is treated as a special case. If additional arguments follow '--help' the behaviour is inconsistent: - applets which call single_argv() print help and do nothing else; - applets which call getopt() report "unrecognized option '--help'" and