I am using Intellij and passing multiple arguments in the Edit Configuration, with this format:
--name=Naruto --information=Ninja
and it works but the problem comes if I try to use a List of String as an input but I don't know how to pass that in the args. I do --fields=Type,Interest,Fighting Style
Now, it only reads up to Fighting and skips the later characters.
I need it with the space because I am turning these fields into a csv file and I don't want it as FightingStyle. Thanks
CodePudding user response:
You need to enclose that part of the String with quote marks, like:
--fields=Type,Interest,"Fighting Style"