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
You need to enclose that part of the String with quote marks, like:
--fields=Type,Interest,"Fighting Style"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.