chmln / sd

Intuitive find & replace CLI (sed alternative)
MIT License
5.72k stars 136 forks source link

Update `--preview` help text #263

Closed CosmicHorrorDev closed 10 months ago

CosmicHorrorDev commented 10 months ago

From @dev-ardi

In this case we should change the docs on the preview flag to something more descriptive. Right now it is

/// Output result into stdout and do not modify files.
pub preview: bool,

Good catch! How does this look now?

dev-ardi commented 10 months ago

LGTM. --preview should not be used as anything more than a preview thus making breaking changes to the output should not be a breaking change.