correct the executable path in script_path docs
This confused me every time I looked it up. Thought that was working through some magic shell alias tricks until I found the files on my hard drive.
Closes #2203.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/2203
PiperOrigin-RevId: 141556677
MOS_MIGRATED_REVID=141556677
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 d76ea1d..4e3c9dc 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
@@ -85,15 +85,18 @@
public class RunCommand implements BlazeCommand {
public static class RunOptions extends OptionsBase {
- @Option(name = "script_path",
- category = "run",
- defaultValue = "null",
- converter = OptionsUtils.PathFragmentConverter.class,
- help = "If set, write a shell script to the given file which invokes the "
- + "target. If this option is set, the target is not run from %{product}. "
- + "Use '%{product} run --script_path=foo //foo && foo' to invoke target '//foo' "
- + "This differs from '%{product} run //foo' in that the %{product} lock is released "
- + "and the executable is connected to the terminal's stdin.")
+ @Option(
+ name = "script_path",
+ category = "run",
+ defaultValue = "null",
+ converter = OptionsUtils.PathFragmentConverter.class,
+ help =
+ "If set, write a shell script to the given file which invokes the "
+ + "target. If this option is set, the target is not run from %{product}. "
+ + "Use '%{product} run --script_path=foo //foo && ./foo' to invoke target '//foo' "
+ + "This differs from '%{product} run //foo' in that the %{product} lock is released "
+ + "and the executable is connected to the terminal's stdin."
+ )
public PathFragment scriptPath;
}