it is 

$PharoVM My.image config --help

and yes the error handling could be improved ;-)

On 12 Mar 2013, at 12:10, "[email protected]" <[email protected]> wrote:

> In the book, we have that config should show the help.
> 
> As in:
> Examples:
> # display this help message $PharoVM My.image config
> 
> but...
> 
> 
> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
> philippeback$] ./vm.sh Pharo.image config
> ==== Startup Error: SubscriptOutOfBounds: 1
> OrderedCollection(Object)>>errorSubscriptBounds:
> OrderedCollection>>ensureBoundsFrom:to:
> OrderedCollection>>at:
> CommandLineArguments>>argumentAt:
> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
> ConfigurationCommandLineHandler>>loadRepositoryURL
> ConfigurationCommandLineHandler>>repositoryURL
> ConfigurationCommandLineHandler>>gofer
> ConfigurationCommandLineHandler>>loadConfigurationNames
> ConfigurationCommandLineHandler>>listConfigurations
> ConfigurationCommandLineHandler>>list
> ConfigurationCommandLineHandler>>activate
> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
> DefaultCommandLineHandler>>handleSubcommand
> DefaultCommandLineHandler>>handleArgument:
> DefaultCommandLineHandler>>activate
> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
> BlockClosure>>cull:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
> BlockClosure>>on:do:
> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
> OrderedCollection>>do:
> SmalltalkImage>>executeDeferredStartupActions:
> SmalltalkImage>>startupImage:snapshotWorked:
> SmalltalkImage>>snapshot:andQuit:
> SmalltalkImage>>saveImageInFileNamed:
> SmalltalkImage>>saveAs:
> SaveCommandLineHandler>>saveImage
> SaveCommandLineHandler>>activate
> Got startup errors:
>    SubscriptOutOfBounds: 1
> 
> Is this the behavior we want? It is kind of scary actually.
> 
> Phil
> 


Reply via email to