lib/argr.js
function(data, param, value) {
    if(_definition[param]) {
      var paramInstance = Param(param, value, _definition[param]);
      _definition[param].param.forEach(function(p) {
        data[p] = paramInstance;
      });

    } else {
      // Unsupported if operating in strict mode
      if(_useStrict) {
        throw(new Error('Invalid argument syntax ('+param+')'));

      } else {
        data[param] = Param(param, value);
      }
    }
  }
function(data, param, value) {
    if(_definition[param]) {
      var paramInstance = Param(param, value, _definition[param]);
      _definition[param].param.forEach(function(p) {
        data[p] = paramInstance;
      });

    } else {
      // Unsupported if operating in strict mode
      if(_useStrict) {
        throw(new Error('Invalid argument syntax ('+param+')'));

      } else {
        data[param] = Param(param, value);
      }
    }
  }
function ( data , param , value ) { if ( _definition [ param ] ) { var paramInstance = Param ( param , value , _definition [ param ] ) ; _definition [ param ] . param . forEach ( function ( p ) { data [ p ] = paramInstance ; } ) ; } else { // Unsupported if operating in strict mode if ( _useStrict ) { throw ( new Error ( 'Invalid argument syntax (' + param + ')' ) ) ; } else { data [ param ] = Param ( param , value ) ; } } }
Associate a parameter with its short and long, if it exists

@param  {Object} data       A data object to setup
@param  {String} param      A short/long parameter name
@param  {Mixed}  value      A value object
Associate a parameter with its short and long if it exists