HelixNetwork / pendulum

Pendulum is a distributed messaging protocol that enables globally available tamper proof timestamps :hourglass_flowing_sand:
https://dev.hlx.ai
Other
10 stars 6 forks source link

Spaces in list arguments to command line flags result in incomplete parse #243

Open dnck opened 4 years ago

dnck commented 4 years ago

One can not use spaces in the list of values supplies to any list flags for the command line flags on start-up of main().

For example, this works:

--remote-limit-api getNodeInfo,attachToTangle,getNeighbors,addNeighbors,removeNeighbors

But, this does not work:

--remote-limit-api getNodeInfo, attachToTangle, getNeighbors, addNeighbors, removeNeighbors

I'm not sure if this is expected behavior, but I believe it's worth opening an issue about it, to discuss and document the expected behavior. It caused us a bit of a problem in deployment.