There is a test to determine whether an option value should overwrite the previous value, or be added to an array. The test for a boolean option does not take into account the alias. The failure only shows up if the previous value was not a boolean, so not likely to come up in practice.
There is a test to determine whether an option value should overwrite the previous value, or be added to an array. The test for a boolean option does not take into account the alias. The failure only shows up if the previous value was not a boolean, so not likely to come up in practice.
Found by code inspection, not from usage.
https://github.com/minimistjs/minimist/blob/093bc85eb9b2a06f0d7fa3f7f1940cd135495abf/index.js#L108