From fb44d5c0745e51ef9d50bc6c67e0fb0366f86ca7 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Fri, 22 Sep 2023 16:49:45 -0700 Subject: [PATCH] chore: update docs for cquery --output=files --- 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 ```