shell: add example of getopts usage