Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Document return behavior of cdk diff (#1446)
The `cdk diff` command intentionally returns non-zero when a difference is found, similar to how the POSIX `diff` command behaves (returning 0 when no difference is found, 1 when some difference is found, and >1 when an error occurred). This behavior was however undocumented, possibly leading to user confusion. This change adds a note in `cdk --help` that mentions the exit code 1 will be used when a difference is found. Fixes #1440
- Loading branch information