Describe the bug
When you set a negative option (--no-xxx) the option xxx is always set to false.
To Reproduce
program
.command('test')
.option('--no-xxx')
.action(({ options }) => console.log(options.xxx))
Run with and without --no-xxx.
Expected behavior
options.xxx must be true without --no-xxx and false with --no-xxx.
Actual behavior
options.xxx is always false.
Environment informations
- OS: Windows
- OS version: 10
- Shell: cmd
- Caporal version: 2.0.2