Hello all,

When I worked on a command-line tool, I discovered SmalltalkImage>>extractParameters.

I didn't find it very good, so I wrote the little method attached to this mail.

I think it could be useful. What do you think about that?

Here is an example:
        I suppose I run pharo with: `pharo myImage.image -minus1 'Hello' -minus2 -minus3 'Hello' 'World'`.
        This message will return a dictionary with:
            minus1 --> #(Hello)
            minus2 --> #()
            minus3 --> #('Hello' 'World').

The first extractParameters was quite strange, since it starts to look at the third parameter (or, the second can be used!), and can not return a list.

Adrien.


Vous voulez prot�ger votre vie priv�e ? La solution avec Internet Explorer 8