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

Re: Install from farm issue


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.


Follow-Ups:
Re: Install from farm issueBruce Steers <bsteers4@xxxxxxxxx>
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>