Boolean argument for script
<p>In Python, I undertsnad how int and str arguments can be added to scripts.</p>

<pre><code>parser=argparse.ArgumentParser(description="""Mydescription""")
parser.add_argument('-l', type=str, default='info', help='String argument')
parser.add_argument('-dt', type=int, default ='', help='int argument')
</code></pre>

<p>What is it for booleans?</p>

<p>Basically I want to pass a flag into my script which will tell the script whether to do a specific action or not.</p>

<p>Thanks</p>
