Searched refs:defaultDescription (Results 1 – 3 of 3) sorted by relevance
265 self.default = self.defaults = function (key, value, defaultDescription) {266 … argsert('<object|string|array> [*] [string]', [key, value, defaultDescription], arguments.length)267 if (defaultDescription) options.defaultDescription[key] = defaultDescription269 …if (!options.defaultDescription[key]) options.defaultDescription[key] = usage.functionDescription(…688 if (opt.defaultDescription) {689 options.defaultDescription[key] = opt.defaultDescription
87 * support defaultDescription for positional arguments ([812048c](https://www.github.com/yargs/yargs…974 - [#237](https://github.com/bcoe/yargs/pull/237) adds defaultDescription to option() (@nexdrew)
301 defaultString(options.default[key], options.defaultDescription[key])465 function defaultString (value, defaultDescription) { argument468 if (value === undefined && !defaultDescription) return null470 if (defaultDescription) {471 string += defaultDescription