Re-implemented the Monitor's ArgumentParser, using getopt_long().