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

fix argument error message for true/false #2039

Merged
merged 1 commit into from
May 31, 2018

Conversation

candrsn
Copy link
Contributor

@candrsn candrsn commented May 31, 2018

Fix the arg message when incorrectly specifying a true/false arg

For instance these two incorrect uses of use_eb_vlr produce confusing messages:

pdal translate my.las --readers.las.use_eb_vlr -o my.bpf
PDAL: Stage option 'readers.las.use_eb_vlr' must be specified as --readers.las.use_eb_vlr=.

pdal translate my.las --readers.las.use_eb_vlr=1 -o my.bpf
PDAL: readers.las: Value '1' provided for argument 'use_eb_vlr' when none is expected.

@hobu hobu merged commit ef77664 into PDAL:1.7-maintenance May 31, 2018
@hobu hobu added this to the 1.8 milestone May 31, 2018
hobu pushed a commit that referenced this pull request May 31, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants