diff options
author | 2017-12-22 06:34:50 -0800 | |
---|---|---|
committer | 2017-12-22 06:36:58 -0800 | |
commit | aff29b956c45ff121ae33097824a71bb0fd4d1be (patch) | |
tree | 1a3cbe952d3319c22d5812f04323704e461d59df /src/main/java/com/google/devtools/build/lib/runtime/commands | |
parent | 9fa5077112316b649d5fc3ed38d79c69bf68bfb5 (diff) |
"Blaze" -> "Bazel" in message visible on CLI
Example message containing "Blaze" - should be "Bazel":
$ bazel run //...
ERROR: Blaze can only run a single target. Do not use wildcards that match more than one target.
INFO: Elapsed time: 0.092s
Closes #3665.
PiperOrigin-RevId: 179921748
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/commands')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java index f99d1cdbca..9a0fba3e6c 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java @@ -110,8 +110,10 @@ public class RunCommand implements BlazeCommand { } @VisibleForTesting - public static final String SINGLE_TARGET_MESSAGE = "Blaze can only run a single target. " - + "Do not use wildcards that match more than one target"; + public static final String SINGLE_TARGET_MESSAGE = + "Only a single target can be run. " + + "Do not use wildcards that match more than one target"; + @VisibleForTesting public static final String NO_TARGET_MESSAGE = "No targets found to run"; |