[Vm-dev] [Pharo-dev] ./pharo --help returns exit code 1 on ubuntu
Ben Coman
btc at openinworld.com
Wed May 10 03:37:35 UTC 2017
On Wed, May 10, 2017 at 12:10 AM, Ben Coman <btc at openinworld.com> wrote:
> In the help I see this usage...
> squeak [<option>...] -- [<argument>...]
>
> but I don't grok it enough to test if that is affected by...
> + if (argv[0][0] == '-' && argv[0][1] == '-')
> + argv[0]++; /* skip one dash in double dash options */
>
To answer myself...
squeak [<option>...] -- [<argument>...]
is handled one level up in parseArguments() before parseArgument() is called.
sqUnixMain.c:1808: if (!strcmp(*argv, "--")) /* escape from
option processing */
break;
so it is not affected.
cheers -ben
More information about the Vm-dev
mailing list