diff --git a/README.md b/README.md index 991f45f..62cb46a 100644 --- a/README.md +++ b/README.md @@ -58,12 +58,16 @@ Open `bazel-diff-example.sh` to see how this is implemented. This is purely an e `bazel-diff` Command ~~~ -Usage: bazel-diff [-htV] -b= [-fh=] - [-o=] [-sh=] +Usage: bazel-diff [-htV] -b= [-co=] + [-fh=] [-o=] + [-sh=] [-so=] -w= [COMMAND] Writes to a file the impacted targets between two Bazel graph JSON files -b, --bazelPath= Path to Bazel binary + -co, --bazelCommandOptions= + Additional space separated Bazel command options used when + invoking Bazel -fh, --finalHashes= The path to the JSON file of target hashes for the final revision. Run 'generate-hashes' to get this value. @@ -74,6 +78,9 @@ Writes to a file the impacted targets between two Bazel graph JSON files -sh, --startingHashes= The path to the JSON file of target hashes for the initial revision. Run 'generate-hashes' to get this value. + -so, --bazelStartupOptions= + Additional space separated Bazel client startup options used + when invoking Bazel -t, --tests Return only targets of kind 'test') -V, --version Print version information and exit. -w, --workspacePath= @@ -82,9 +89,11 @@ Writes to a file the impacted targets between two Bazel graph JSON files `modified-filepaths` Command ~~~ -Usage: bazel-diff modified-filepaths [-hV] -b= -w= - - +Usage: bazel-diff modified-filepaths [-hV] -b= + [-co=] + [-so=] + -w= + Writes to the file the modified filepaths between two revisions. The starting Git revision, e.g. "HEAD^" The final Git revision, e.g. "HEAD" @@ -92,7 +101,13 @@ Writes to the file the modified filepaths between two revisions. written to -b, --bazelPath= Path to Bazel binary + -co, --bazelCommandOptions= + Additional space separated Bazel command options + used when invoking Bazel -h, --help Show this help message and exit. + -so, --bazelStartupOptions= + Additional space separated Bazel client startup + options used when invoking Bazel -V, --version Print version information and exit. -w, --workspacePath= Path to Bazel workspace directory. @@ -100,7 +115,10 @@ Writes to the file the modified filepaths between two revisions. `generate-hashes` Command ~~~ -Usage: bazel-diff generate-hashes [-hV] -b= [-m=] +Usage: bazel-diff generate-hashes [-hV] -b= + [-co=] + [-m=] + [-so=] -w= Writes to a file the SHA256 hashes for each Bazel Target in the provided workspace. @@ -108,11 +126,17 @@ workspace. target => SHA-256 values -b, --bazelPath= Path to Bazel binary + -co, --bazelCommandOptions= + Additional space separated Bazel command options used when + invoking Bazel -h, --help Show this help message and exit. -m, --modifiedFilepaths= The path to a file containing the list of modified filepaths in the workspace, you can use the 'modified-filepaths' command to get this list + -so, --bazelStartupOptions= + Additional space separated Bazel client startup options + used when invoking Bazel -V, --version Print version information and exit. -w, --workspacePath= Path to Bazel workspace directory.