docs: update boolean and enumerated CLI section (#40224)
With this change we change the `Boolean and enumerated options` to use kebab-case flags as the camelCase variant are deprecated. We also remove the `enumerated option description` as this is no longer correct and needed following the CLI MAN page update in #40038 PR Close #40224
This commit is contained in:
parent
53b64fb659
commit
e54261b8d8
|
@ -93,12 +93,11 @@ Command syntax is shown as follows:
|
|||
[camelCase or dash-case](guide/glossary#case-types).
|
||||
`--myOptionName` is equivalent to `--my-option-name`.
|
||||
|
||||
### Boolean and enumerated options
|
||||
### Boolean options
|
||||
|
||||
Boolean options have two forms: `--thisOption` sets the flag, `--noThisOption` clears it.
|
||||
Boolean options have two forms: `--this-option` sets the flag to `true`, `--no-this-option` sets it to `false`.
|
||||
If neither option is supplied, the flag remains in its default state, as listed in the reference documentation.
|
||||
|
||||
Allowed values are given with each enumerated option description, with the default value in **bold**.
|
||||
|
||||
### Relative paths
|
||||
|
||||
|
|
Loading…
Reference in New Issue