[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install from farm issue


On Fri, 15 Nov 2024 at 08:25, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 15/11/2024 à 03:45, Bruce Steers a écrit :
> >
> >
> > On Fri, 15 Nov 2024 at 01:49, Bruce Steers <bsteers4@xxxxxxxxx
> > <mailto:bsteers4@xxxxxxxxx>> wrote:
> >
> >     I just tried gbc3 with arg -m and it just output the help text but
> >     $? returned 0
> >
> >     I get that printing help is not really an error if i type --help but
> >     if help is printed due to a bad arg should't it return a code?
> >
> >
> > 22 perhaps ?
> >
> > errno --list| grep argument
> >
> > EINVAL 22 Invalid argument
> >
> > Respects
> > BruceS
>
> Fixed in last commit. Now the compiler, archiver and informer return '1'
> when an unknown or incomplete command-line option is detected.
>
> Regards,
>
> --
> Benoît Minisini.
>

Excellent :)
I think this may help with other things too.  (like maybe when autotools
installing fails to compile something but does not show any error)

Thank you Ben :)

References:
Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
Re: Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
Re: Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
Re: Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
Re: Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
Re: Install from farm issueBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>