Searched refs:requiresArg (Results 1 – 3 of 3) sorted by relevance
226 self.requiresArg = function (keys) { function702 if (opt.requiresArg) {703 self.requiresArg(key)
286 * Set implicit nargs=1 when type=number requiresArg=true ([#1050](https://github.com/yargs/yargs/is…291 * requiresArg is now simply an alias for nargs(1) ([#1054](https://github.com/yargs/yargs/issues/10…296 * requiresArg now has significantly different error output, matching nargs.306 * requiresArg should only be enforced if argument exists ([#1043](https://github.com/yargs/yargs/is…1066 ….com/bcoe/yargs/commit/56cbe2ddd33dc176dcbf97ba40559864a9f114e4) make .requiresArg() work with typ…1183 ….com/bcoe/yargs/commit/889a2b28eb9768801b05163360a470d0fd6c8b79) Added requiresArg option, for opt…
111 * make requiresArg work in conjunction with arrays ([#136](https://github.com/yargs/yargs-parser/is…138 * make requiresArg work in conjunction with arrays ([#136](https://github.com/yargs/yargs-parser/is…