optparse icon indicating copy to clipboard operation
optparse copied to clipboard

qouted argument value with other arguments in a value doesn't work

Open bitsofinfo opened this issue 7 years ago • 4 comments

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"

bitsofinfo avatar Jan 10 '17 20:01 bitsofinfo

But this works

mycmd.sh -A "-m=\"256M\" -c=\"100\""

bitsofinfo avatar Jan 10 '17 20:01 bitsofinfo

thoughts?

bitsofinfo avatar Mar 13 '17 14:03 bitsofinfo

+1

bmudda avatar Mar 15 '17 16:03 bmudda

Anyone managing this project anymore

bitsofinfo avatar May 04 '17 21:05 bitsofinfo