title: Using sys.argv to retrieve different functions
body: <p>So let's say I have these lines of code: </p>
  
  <pre><code>if __name__ == '__main__':
  if '-h' in sys.argv:
      show_help()
  elif '-f' or 'function'in sys.argv:
      print(function1)
  elif '-n'or '-name' in sys.argv:
      print(function2)
  elif '-e' or '-extension'in sys.argv:
      print(function3])
  elif '-m' or '-missing'in sys.argv:
      print(function4)
  elif 'r' or '-range' in sys.argv:
      print(function5)
  else:
      exit
  </code></pre>
  
  <p>The letters are supposed to be inputs from the user in the bash terminal. 
  Showing the help method works and it is able to show all of the strings.
  The -f input works and shows the contents that I need in that function, however the code just spits out the content from function 1 and not from function2 and so on. </p>
  
  <p>How do I get these different letters, -f, -n, -e, -m (if inputted) to carry out that function and spit out that information? 
  Also is there a more efficient way to do this without using argparse for a beginner Python scripter? </p>