Hi,

STCommandLineHandler>>#end is defined as:
---
        | quit  |
        quit := self commandLine hasOption: 'quit'.
        (self commandLine hasOption: 'save')
                ifTrue: [ Smalltalk snapshot: true andQuit: quit ].
        quit
                ifTrue: [ self exitSuccess ].
---
Can this be simplified to:

        ^Smalltalk snapshot: (self hasOption: 'save')
                  andQuit:  (self hasOption: 'quit')

Is it necessary to call exitSuccess when only '--quit' is given?

Regards .. Subbu

Reply via email to