title: Bash test if an argument exists
body: <p>I want to test if an augment (e.g. -h) was passed into my bash script or not.</p>
  
  <p>In a Ruby script that would be:</p>
  
  <pre><code>#!/usr/bin/env ruby
  puts "Has -h" if ARGV.include? "-h"
  </code></pre>
  
  <p>How to best do that in Bash?</p>