From 7d681253bf7c1aa0430e1dcad4421ab0e39017a5 Mon Sep 17 00:00:00 2001 From: Sun Haoran Date: Wed, 22 Jan 2020 23:20:36 +0800 Subject: [PATCH] docs: add a title for Negated Options (#63) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3aa2dfb..d40d336 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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