Skip to content

Commit 7d68125

Browse files
Sun Haoranegoist
authored andcommitted
docs: add a title for Negated Options (#63)
1 parent e9ea9b7 commit 7d68125

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
- [Command-specific Options](#command-specific-options)
2525
- [Dash in option names](#dash-in-option-names)
2626
- [Brackets](#brackets)
27+
- [Negated Options](#negated-options)
2728
- [Variadic Arguments](#variadic-arguments)
2829
- [Dot-nested Options](#dot-nested-options)
2930
- [Default Command](#default-command)
@@ -172,6 +173,8 @@ cli
172173
cli.parse()
173174
```
174175

176+
### Negated Options
177+
175178
To allow an option whose value is `false`, you need to manually specify a negated option:
176179

177180
```js

0 commit comments

Comments
 (0)