Rename host_deps option to tool_deps, to reflect more closely what it now does.

The name host_deps is retained as an alias for tool_deps.

Fixes https://github.com/bazelbuild/bazel/issues/8976.

RELNOTES: The query flag "--host_deps" (commonly used as "--nohost_deps") has been renamed to "--tool_deps", and now also removes dependencies in any execution configuration from being reported in the query output. The previous flag name is deprecated and will be removed in a future release.
PiperOrigin-RevId: 267596701
diff --git a/site/docs/tutorial/java.md b/site/docs/tutorial/java.md
index c7355c6..7de0b9f 100644
--- a/site/docs/tutorial/java.md
+++ b/site/docs/tutorial/java.md
@@ -175,7 +175,7 @@
 representation of the dependency graph (run the command at the workspace root):
 
 ```
-bazel query  --nohost_deps --noimplicit_deps "deps(//:ProjectRunner)" --output graph
+bazel query  --notool_deps --noimplicit_deps "deps(//:ProjectRunner)" --output graph
 ```
 
 The above command tells Bazel to look for all dependencies for the target