title: How to support both short and long options at the same time in bash?
body: <p>I want to support both short and  long options in <code>bash</code> scripts, so one can: </p>
  
  <pre><code>$ foo -ax --long-key val -b -y SOME FILE NAMES
  </code></pre>
  
  <p>is it possible?</p>