Re: Why doesn't the VM command line help show the useful image commands anymore?
Posted by
K K Subbu on
May 01, 2019; 5:53am
URL: https://forum.world.st/Why-doesn-t-the-VM-command-line-help-show-the-useful-image-commands-anymore-tp5098779p5098827.html
On 30/04/19 6:14 PM, Tim Mackinnon wrote:
> Subbu - I didn’t understand your point? How would I know to do pharo
> -- --list , by looking at the output of —help? (And in fact that
> doesn’t work on OSX, it prompts me for an image - thus reinforcing my
> point that the default image doesn’t appear to work, at least not in
> osx).
Tim, I don't have access to Mac OSX :-(.
The usage text is printed in lines 296-301 in
https://github.com/pharo-project/pharo-vm/blob/master/opensmalltalk-vm/platforms/Mac%20OS/vm/sqMacUnixCommandLineInterface.cIf you don't see the same usage message, then it is a bug, possibly a
missing macro def in the build script.
The platform startup code on Mac and Linux are similar. They both parse
args for option words starting with single or double hyphens until a
word which matches "*.image" or "--" is seen. Rest of the words are
treated as a image (optional) and its arguments.
Regards .. Subbu