mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
d4947fce23
We want to offer a return-code oriented interface to detect changes pending to be applied. The preview command, by default, returns 0 regardless of pending changes. We add a flag, `--expect-no-changes`, that will return non-zero if there are changes pending application, and 0 if there are none.