Exercise in using getopt_long