redo option parsing using getopt_long
1 file changed