[1/2] Insert the command-line otions using getopt function