getopt_long example http://linux.die.net/man/3/getopt_long