Home
last modified time | relevance | path

Searched refs:defaultDescription (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/node_modules/yargs/
Dyargs.js265 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] = defaultDescription
269 …if (!options.defaultDescription[key]) options.defaultDescription[key] = usage.functionDescription(…
688 if (opt.defaultDescription) {
689 options.defaultDescription[key] = opt.defaultDescription
DCHANGELOG.md87 * 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)
/third_party/node/deps/npm/node_modules/yargs/lib/
Dusage.js301 defaultString(options.default[key], options.defaultDescription[key])
465 function defaultString (value, defaultDescription) { argument
468 if (value === undefined && !defaultDescription) return null
470 if (defaultDescription) {
471 string += defaultDescription