code: private void oneArg(String[] args, int index) {
          if ((index + 1) < args.length) {
              setOption(args[index], args[index+1]);
          } else {
              usageError("main.requires_argument", args[index]);
          }
      }
docs: Set one arg option.
  Error and exit if one argument is not provided.