Add test case for inverting the negation

Not sure why anyone would do this, but it's covered now.
This commit is contained in:
Joe Schmitt
2021-02-18 11:38:31 -05:00
committed by Alec Thomas
parent 2fdddc4f51
commit 454f2c067e
3 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ Tag | Description
`required` | If present, flag/arg is required.
`optional` | If present, flag/arg is optional.
`hidden` | If present, command or flag is hidden.
`negatable` | If present on a `bool` field, supports prefixing a flag with `--no-` to set flag to `false`
`negatable` | If present on a `bool` field, supports prefixing a flag with `--no-` to invert the default value
`format:"X"` | Format for parsing input, if supported.
`sep:"X"` | Separator for sequences (defaults to ","). May be `none` to disable splitting.
`mapsep:"X"` | Separator for maps (defaults to ";"). May be `none` to disable splitting.