title: Docopt: options after repeating elements are interpeted as repeating elements
body: <p>I am using <em><a href="http://docopt.org/">docopt</a></em> in my simple Python program:</p>
  
  <pre><code>#!/usr/bin/env python
  """
  Farmers market
  
  Usage:
    farmersmarket.py buy -i &lt;item&gt; -q &lt;quantity&gt; [&lt;quantity&gt;] [-p &lt;price&gt;] [-dvh]
    farmersmarket.py -d | --debug
    farmersmarket.py -v | --version
    farmersmarket.py -h | --help
  
  Options:
    -i --item         Item.
    -q --quantity     Quantity.
    -p --price        Price.
    -d --debug        Show debug messages.
    -h --help         Show this screen.
    -v --version      Show version.
  """
  
  from docopt import docopt
  
  print docopt(__doc__)
  </code></pre>
  
  <p>If I run:</p>
  
  <pre><code>farmersmarket.py buy --item eggs --quantity 100 115 --price 0.25
  </code></pre>
  
  <p>The expected behaviour is to buy a random quantity of eggs between the values 100 and 115 at the price 0.25. This works without problems at least when it comes to interpreting the arguments. In other words <em>docopt</em> gets everything as intended:</p>
  
  <pre><code>{'--debug': False,
   '--help': False,
   '--item': True,
   '--price': True,
   '--quantity': True,
   '--version': False,
   '&lt;item&gt;': 'eggs',
   '&lt;price&gt;': '0.25',
   '&lt;quantity&gt;': ['100', '115'],
   'buy': True}
  </code></pre>
  
  <p>However sometimes I do not want to buy a random amount of eggs but a specific amount. In this case the <code>--quantity</code> option takes only one argument:</p>
  
  <pre><code>farmersmarket.py buy --item eggs --quantity 471 --price 0.25
  </code></pre>
  
  <p>But this fails as <em>docopt</em> interprets <code>--price 0.25</code> as a repeating element of <code>--quantity</code> and loses the value of <code>&lt;price&gt;</code>:</p>
  
  <pre><code>{'--debug': False,
   '--help': False,
   '--item': True,
   '--price': True,
   '--quantity': True,
   '--version': False,
   '&lt;item&gt;': 'eggs',
   '&lt;price&gt;': None,
   '&lt;quantity&gt;': ['471', '0.25'],
   'buy': True}
  </code></pre>
  
  <p>How can I get other options to work after repeating elements?</p>