Allow exit when no option is matched
Open
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 278
- PR merge metrics
- No merged PRs in 30d
Description
```
vorpal
.catch('[catch...]')
.option('-p', '`-p `')
.action((args, cb) => {
if (args.options.p) {
console.log('yo');
} else {
console.log(':(');
}
})
```
This does not drop out of the shell if the supplied option is incorrect.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.