diff --git a/README.md b/README.md index ca7dbd4..79046e0 100644 --- a/README.md +++ b/README.md @@ -204,8 +204,11 @@ workspace. setups. Defaults to `true` -s, --seed-filepaths= A text file containing a newline separated list of - filepaths, each of these filepaths will be read and - used as a seed for all targets. + filepaths. Each file in this list will be read and + its content will be used as a SHA256 seed when + determining affected targets in the build graph. + Invalidating any of these files will effectively + mark all targets as affected. -so, --bazelStartupOptions= Additional space separated Bazel client startup options used when invoking Bazel diff --git a/cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt b/cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt index 9b87aa1..05c2500 100644 --- a/cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt +++ b/cli/src/main/kotlin/com/bazel_diff/cli/GenerateHashesCommand.kt @@ -139,7 +139,7 @@ class GenerateHashesCommand : Callable { names = ["-s", "--seed-filepaths"], description = [ - "A text file containing a newline separated list of filepaths, each of these filepaths will be read and used as a seed for all targets."]) + "A text file containing a newline separated list of filepaths. Each file in this list will be read and its content will be used as a SHA256 seed when determining affected targets in the build graph. Invalidating any of these files will effectively mark all targets as affected."]) var seedFilepaths: File? = null @CommandLine.Parameters(