Better command-line argument extractor for scala