Description
Currently it is impossible to pass any arguments which start with the dash character through to the class specified by the "main" argument in standalone mode. The attached patch makes the command-line parser recognize the special getopt-style "--" argument which tells the parser to stop parsing for known arguments and simply pass all subsequent tokens on to the main method of the class being invoked. For the record, I am aware of the "args" option which looks to be intended for this purpose, but it doesn't work. Introducing the special double-dash operator seemed the best fix as it's a widely recognized idiom for precisely this functionality.