Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

If values contain spaces, treat them as values#38

Open
sethfitz wants to merge 1 commit intoharthur:masterfrom
sethfitz:options-with-spaces
Open

If values contain spaces, treat them as values#38
sethfitz wants to merge 1 commit intoharthur:masterfrom
sethfitz:options-with-spaces

Conversation

@sethfitz
Copy link
Copy Markdown

Option names should never contain spaces; values might.

This (partially) works around #37, but still prevents individual negative values from being treated as values.

Option names should never contain spaces; values might.

This (partially) works around harthur#37, but still prevents individual
negative values from being treated as values.
@sethfitz
Copy link
Copy Markdown
Author

sethfitz commented Jun 5, 2014

Thoughts?

@harthur
Copy link
Copy Markdown
Owner

harthur commented Sep 19, 2014

You can use ' single quotes like --name 'foo bar'. I don't think I've seen behavior like what you're suggesting, but welcome to counterexamples. I want to stick to what would be familiar to people.

@sethfitz
Copy link
Copy Markdown
Author

ogr2ogr is one the tools I was modeling behavior on (yes, it has weird options, but I wouldn't know how else to handle bounding box arguments).

E.g.

-spat xmin ymin xmax ymax

I've been using quotes in the meantime. Feel free to close this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants