summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory <chmln@users.noreply.github.com>2020-08-03 19:50:56 -0400
committerGitHub <noreply@github.com>2020-08-03 19:50:56 -0400
commitc89f6012da88468955b40f1956ef93479b35c665 (patch)
tree1e7fc932e249ab21285b41904333a12528f9c118
parent977f2cb8a19ea8e0fe30175e14b374196ae9dbd7 (diff)
parentebeab6fdf0822e7dce495a3a1697398da30b0834 (diff)
Merge pull request #93 from jchook/64-update-help-message
Adds note about in-place file modification to --help output
-rw-r--r--src/app.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 361ee2f..924d277 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -37,5 +37,7 @@ w - match full words only
pub replace_with: String,
/// The path to file(s). This is optional - sd can also read from STDIN.
+ /// Note: sd modifies files in-place by default. See documentation for
+ /// examples.
pub files: Vec<std::path::PathBuf>,
}