PATH:
opt
/
bitninja-threat-hunting
/
node_modules
/
minimist
/
test
'use strict'; var parse = require('../'); var test = require('tape'); test('stops parsing on the first non-option when stopEarly is set', function (t) { var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { stopEarly: true, }); t.deepEqual(argv, { aaa: 'bbb', _: ['ccc', '--ddd'], }); t.end(); });
[-] num.js
[edit]
[-] bool.js
[edit]
[+]
..
[-] dotted.js
[edit]
[-] proto.js
[edit]
[-] all_bool.js
[edit]
[-] stop_early.js
[edit]
[-] unknown.js
[edit]
[-] long.js
[edit]
[-] parse.js
[edit]
[-] whitespace.js
[edit]
[-] dash.js
[edit]
[-] short.js
[edit]
[-] kv_short.js
[edit]
[-] parse_modified.js
[edit]
[-] default_bool.js
[edit]