Even better than a dry-run flag is to have the noop mode be the default behavior and have e.g. "--execute" enable non-read-only behavior (or, for really scary commands like programmatic data destroyers, "--nuke-my-data-i-solemnly-swear-i-know-what-i-am-doing"). Prevents plenty of accidental mistakes by sleepy operators.
That's a quibble though, the article is well-put and quite correct about the value of a dry-run mode.
That's a quibble though, the article is well-put and quite correct about the value of a dry-run mode.