JVM command line arguments validator, implemented in Scala