From ce5d8a6d5dcbbf9c875231a715f84e2862b5e137 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 25 Sep 2023 02:51:07 -0700 Subject: [PATCH] chore: update docs for cquery --output=files (#311) --- cpp-tutorial/stage1/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpp-tutorial/stage1/README.md b/cpp-tutorial/stage1/README.md index 792636cb1..2987c5dc0 100644 --- a/cpp-tutorial/stage1/README.md +++ b/cpp-tutorial/stage1/README.md @@ -35,7 +35,5 @@ is a useful technique for use in scripts, where you do not want to parse the `bazel build` output. ``` -bazel cquery --output=starlark \ - --starlark:expr="' '.join([f.path for f in target.files.to_list()])" \ - //main:hello-world +bazel cquery --output=files //main:hello-world ```