nconf icon indicating copy to clipboard operation
nconf copied to clipboard

Negative numbers are read incorrectly from command-line

Open vbauer opened this issue 10 years ago • 1 comments

An example:

var conf = nconf.argv().get();
console.log(conf.cache);

It works: --cache=12 It works: --cache 12

It works: --cache=-12 It doesn't work: --cache -12

vbauer avatar Feb 21 '15 13:02 vbauer

:+1:

xvik avatar Feb 26 '15 12:02 xvik