correct docs

This commit is contained in:
Jeff Williams 2012-10-03 08:18:26 -07:00
parent 914d2409c6
commit cdee70fe4c

View File

@ -39,6 +39,7 @@
* @param {string} longName The equivalent long name of the option, entered like: --test. * @param {string} longName The equivalent long name of the option, entered like: --test.
* @param {boolean} hasValue Does this option require a value? Like: -t templatename * @param {boolean} hasValue Does this option require a value? Like: -t templatename
* @param {string} helpText * @param {string} helpText
* @param {boolean} [canHaveMultiple=false]
* @param {function} [coercer] A function to coerce the given value to a specific type. * @param {function} [coercer] A function to coerce the given value to a specific type.
* @example * @example
* myParser.addOption('t', 'template', true, 'The path to the template.'); * myParser.addOption('t', 'template', true, 'The path to the template.');