Add handling for missing optarg.