On Fri, Jun 13, 2008 at 8:19 AM, James Keenan via RT
<[EMAIL PROTECTED]> wrote:
> I notice that the *actual* exit code I'm getting is 256.  Has that
> changed since the OP or is there some bit-shifting going on here?
>
> I also notice that the same exit code is generated regardless of whether
> the option is valid or not.  Is that the behavior we desire?
>

Taking ajr's email into account, here's what I'm seeing for exit codes
at the shell:

$ ./parrot -BLORG
Option -B not known
parrot -[abcCEfgGhjprStvVwy.] [-d [FLAGS]] [-D [FLAGS]][-O [level]]
[-o FILE] <file>
$ echo $?
1
$ ./parrot
parrot -[abcCEfgGhjprStvVwy.] [-d [FLAGS]] [-D [FLAGS]][-O [level]]
[-o FILE] <file>
$ echo $?
0





-- 
Will "Coke" Coleda

Reply via email to