aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2018-05-18 03:15:32 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-18 03:16:53 -0700
commit5a2238daf50e6375025e596ec186df4f4429aaf8 (patch)
treeefb5e811e5ae6fd055aa3d79cb2ac2571bd2df20 /site
parent49eb5a7e6c0cd2f6bc161a314a48936973e68753 (diff)
Remove "bazel run --nodirect_run".
RELNOTES[INC]: Bazel now always runs binaries in with "bazel run" in interactive mode. The "--nodirect_run" command line option is now a no-op. PiperOrigin-RevId: 197121535
Diffstat (limited to 'site')
-rw-r--r--site/docs/user-manual.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/site/docs/user-manual.html b/site/docs/user-manual.html
index 3b28c49634..6d93e7dca1 100644
--- a/site/docs/user-manual.html
+++ b/site/docs/user-manual.html
@@ -3001,11 +3001,6 @@ Examples:
</pre>
<p>
- Bazel closes stdin, so you can't use <code>bazel run</code>
- if you want to start an interactive program or pipe data to it.
-</p>
-
-<p>
Note the use of the <code>--</code>. This is needed so that Bazel
does not interpret <code>--arg1</code> and <code>--arg2</code> as
Bazel options, but rather as part of the command line for running the binary.
@@ -3027,10 +3022,10 @@ Examples:
<p>
<code>bazel run</code> can also execute test binaries, which has the effect of
-running the test, but without the setup documented on the page
-<a href='test-encyclopedia.html'>Writing Tests</a>, so that the test runs
-in an environment closer to the current shell environment. Note that none of the
---test_* arguments have an effect when running a test in this manner.
+ running the test in a close approximation of the environment described at
+ <a href='test-encyclopedia.html'>Writing Tests</a>. Note that none of the
+ <code>--test_*</code>code> arguments have an effect when running a test in this manner except
+ <code>--test_arg</code> .
</p>
<h2 id='query'>Querying the dependency graph with Bazel</h2>