diff options
author | 2017-06-06 04:11:50 -0400 | |
---|---|---|
committer | 2017-06-06 09:50:45 -0400 | |
commit | 4be142706db767b66717bd30f3dbfe5bacbf5539 (patch) | |
tree | ca85bf8bc663bbc679a88266914a7b11778ef4a6 /src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java | |
parent | 179124c4276c9ad2032a577d8ec739f291c905eb (diff) |
Change help message for --batch
The help message previously said that `--batch` is strongly discouraged, but in fact it's only discouraged when using bazel interactively. Since the tradeoffs of `--batch` are fully explained in the online docs, this commit changes the help message to explain what the option does without getting into the tradeoffs.
Fixes #3051
Closes #3118.
PiperOrigin-RevId: 158112611
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java index f57d9d9671..abfad43dff 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeServerStartupOptions.java @@ -164,9 +164,8 @@ public class BlazeServerStartupOptions extends OptionsBase { defaultValue = "false", // NOTE: purely decorative! See class docstring. category = "server startup", help = - "If set, Blaze will be run in batch mode, instead of the standard client/server mode. " - + "Running in batch mode prevents Blaze from caching data in memory, which makes it a " - + "lot slower. We recommend against using this flag." + "If set, Blaze will be run as just a client process without a server, instead of in " + + "the standard client/server mode." ) public boolean batch; |