Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bitsofinfo opened this issue Jan 10, 2017 · 4 comments
Open

Comments

@bitsofinfo
Copy link

bitsofinfo commented Jan 10, 2017

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 bitsofinfo changed the title option value of quoted args for something else doesn't work qouted argument value with other arguments in a value doesn't work Jan 10, 2017
@bitsofinfo
Copy link
Author

bitsofinfo commented Jan 10, 2017

But this works

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

@bitsofinfo
Copy link
Author

thoughts?

@bmudda
Copy link

bmudda commented Mar 15, 2017

+1

@bitsofinfo
Copy link
Author

Anyone managing this project anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants