http://beecoder.org/fr/scala/using-pattern-matching-to-recognize-command-line-arguments-in-scala