<p dir="auto">These three commits add various checks for combinations of command line options which make no sense and so should not be used. For most of these warnings about ignored options are printed (which we can turn into hard fails in a later version of osm2pgsql). For the projection setting options (--latlong, -l, --merc, -m, --proj, and -E) an error is produced, because results are undefined if they are used together.</p>
<p dir="auto">See individual commits.</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #142.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="32627878" data-permission-text="Title is private" data-url="https://github.com/osm2pgsql-dev/osm2pgsql/issues/142" data-hovercard-type="issue" data-hovercard-url="/osm2pgsql-dev/osm2pgsql/issues/142/hovercard" href="https://github.com/osm2pgsql-dev/osm2pgsql/issues/142">#142</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132/commits/461b077f9a72c371de4a97b203ec6b1534334350" class="commit-link">461b077</a>  Check more command line options for "compatibility"</li>
  <li><a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132/commits/e251bc21e20eecc21abcf91671f62d14df580dcc" class="commit-link">e251bc2</a>  Pull out checking of expire options into its own function</li>
  <li><a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132/commits/68ea6600ae48810d956b81f6b6c85dc1325378bb" class="commit-link">68ea660</a>  Warnings for command line options only allowed in slim mode</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132/files">1 file</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132/files#diff-101bbf3f8544d98c967a0220a0116b9dde497095c64ba0b72707714eaebd7397">src/command-line-parser.cpp</a>
    (115)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.patch'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.patch</a></li>
  <li><a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.diff'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WKJ2QI6O5HLVQWJX3YRTWYJAVCNFSM6AAAAABCWXPZMWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYTKMBRGA2DMMY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353Q6HSH6ADRGQFBT2X3YRTWYJA5CNFSM6AAAAABCWXPZMWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHH4ED7T4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/pull/2132</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2132",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>