[Vm-dev] [Pharo-dev] ./pharo --help returns exit code 1 on ubuntu

K K Subbu kksubbu.ml at gmail.com
Sun May 7 09:32:31 UTC 2017


On Friday 05 May 2017 03:01 AM, Andrei Chis wrote:
>
> On mac the error code is 0. Also when executing './pharo' or './pharo
> Pharo.image --help' or './pharo --version' the error code is 0 on both
> mac and linux.
> So it seems there is some issues with --help. Actually, it gives a usage
> warning, but still I'd expect to not return an error code.

OK, I have uploaded a patch:

https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/136

that accepts both single and double-dashes for options on unix builds. 
help or version options return 0 on exit.

Regards .. Subbu


More information about the Vm-dev mailing list