The long option support, made available through the Linux version of getopt, is incompatible with BSD getopt, found on macOS and OpenBSD. So I decided to keep it simple and support single-letter options only.