mongodump showing error: Error parsing command line: too many positional options
<p><strong>mongodump:</strong> </p>

<pre><code>--host hostname:port -u User -p password--authenticationDatabase admin --dbdb_name --collection collection_name –q {db.getCollection('col_name').find({"statement.context.platform":"abc","statement.timestamp":{'$gte':'2016-03-30T00:00:00','$lte':'2016-04-20T23:59:59'}})}"
</code></pre>

<p><strong>Error:</strong></p>

<blockquote>
  <p>Error parsing command line: too many positional options</p>
</blockquote>

<p>Mongodb version- <code>2.6</code></p>