Check out my first novel, midnight's simulacra!
getopt(1) diverges between Linux and FreeBSD. POSIX's getopts(1) is the portable way to do option parsing from the shell.