Skip to content

Commit

Permalink
docs: add a title for Negated Options (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Haoran authored and egoist committed Jan 22, 2020
1 parent e9ea9b7 commit 7d68125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- [Command-specific Options](#command-specific-options)
- [Dash in option names](#dash-in-option-names)
- [Brackets](#brackets)
- [Negated Options](#negated-options)
- [Variadic Arguments](#variadic-arguments)
- [Dot-nested Options](#dot-nested-options)
- [Default Command](#default-command)
Expand Down Expand Up @@ -172,6 +173,8 @@ cli
cli.parse()
```

### Negated Options

To allow an option whose value is `false`, you need to manually specify a negated option:

```js
Expand Down

0 comments on commit 7d68125

Please sign in to comment.