code: function Option(handler, options, desc) {
    Option.super_.apply(this, [handler, options, desc]);
  
    if (options.params && options.params.hasOwnProperty('optional')) {
      throw new Error('optional parameter is not allowed for options');
    }
  }
docs: Option constructor.