optparse
optparse copied to clipboard
qouted argument value with other arguments in a value doesn't work
optparse.define short=A long=extraDockerRunArgs desc="optional, quoted string of extra docker run argument flags/values" variable=EXTRA_DOCKER_RUN_ARGS default=""
mycmd.sh -A "--memory=\"256M\" --cpu-shares=\"100\""
results in
Unrecognized long option: --memory="256M" --cpu-shares="100"
But this works
mycmd.sh -A "-m=\"256M\" -c=\"100\""
thoughts?
+1
Anyone managing this project anymore