title: Why does nosetests say --with-coverage is not an option?
body: <p>I am using nosetests to automatically discover and run my unittests. I would also like to have it generate coverage reports.</p>
  
  <p>When I run nosetests with the following command everything works just fine</p>
  
  <pre><code>nosetests .
  </code></pre>
  
  <p>I looked up online that to generate the coverage, nosetests has a command line argument <code>--with-coverage</code>. I also double checked that this command exists using <code>nosetests --help</code>. However, whenever I run the following command I get the following output</p>
  
  <pre><code>nosetests --with-coverage .
  Usage: nosetests [options]
  
  nosetests: error: no such option: --with-coverage
  </code></pre>
  
  <p>I double checked that the coverage plugin is installed by running</p>
  
  <pre><code>nosetests --plugins
  </code></pre>
  
  <p>coverage shows up in the list along with a bunch of other plugins.</p>
  
  <p>I also know I have coverage installed because I can manually run the coverage data collection using something along the lines of:</p>
  
  <pre><code>coverage run test.py
  </code></pre>
  
  <p>Am I misusing the --with-coverage option? Or is there something else I am missing?</p>
  
  <p>Thanks in advance.</p>