Example for getopt.