title: parse arguments after getopts
body: <p>I want to call a bash script like this</p>
  
  <pre><code>$ ./scriptName -o -p -t something path/to/file
  </code></pre>
  
  <p>This is as far as I get</p>
  
  <pre><code>#!/bin/bash
  
  o=false
  p=false
  
  while getopts ":opt:" options
  do
      case $options in
          o ) opt1=true
          ;;
          p ) opt2=true
          ;;
          t ) opt3=$OPTARG
          ;;
      esac
  done
  </code></pre>
  
  <p>but how do I get the <code>path/to/file</code>?</p>