Creating command line switches in python
<p>For example, sqlmap uses <code>python sqlmap.py -h</code>.</p>

<p>This command above lists all available switches in sqlmap, and <code>-h</code> is a switch itself.</p>

<p>When you are creating a python tool for use in terminal, what is the basic method to create a switch?</p>

<p>A hello world example would be most appreciative!</p>
