title: Python argparse toggle flags
body: <p>Is there any way in argparse to parse flags like <code>[+-]a,b,c,d</code>?</p>
  
  <pre><code>foo.py +s -b
  </code></pre>
  
  <p>should store True in the <code>dest</code> of <code>s</code> and False in the <code>dest</code> of <code>b</code>, much like done by the Windows <code>attrib</code> or the Linux <code>chmod</code>.</p>
  
  <p>Currently, I am using 2 separate arguments <code>+s</code> and <code>-s</code> with <code>store_true</code> and <code>store_false</code>, respectively. But it creates an ugly help with it listing each flag twice (+a &amp; -a)</p>
  
  <p>Another workaround would be to manually parse the extended arg with regex (which somehow seems a lot easier and use custom description, <em>but</em> before doing that I just wanted to look around if there was anything using which I could perform the same thing using argparse itself.</p>