Development record
Two flag pairs are mutually exclusive, but neither flag's help says so. site build --preview and --version (internal/surface/cli/site.go:88; help at site.go:83-87; docs/reference/cli/commands.md:4732-4733). update --check and --yes (internal/surface/cli/update.go:156; help at update.go:154-155; commands.md:4898-4899). A reader of the reference learns of either pairing only from cobra's error.
issueopennitpickiss-2610252211536978
Two flag pairs are mutually exclusive, but neither flag's help says so. site build --preview and --version (internal/surface/cli/site.go:88; help at site.go:83-87; docs/reference/cli/commands.md:4732-4733). update --check and --yes (internal/surface/cli/update.go:156; help at update.go:154-155; commands.md:4898-4899). A reader of the reference learns of either pairing only from cobra's error.
Frontmatter
| id | iss-2610252211536978 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | nitpick |
.abcd/work/issues/open/iss-2610252211536978-two-flag-pairs-are-mutually-exclusive.md
open on GitHub ↗ · commit history ↗