From dd758500595727371c02d952503f56310df28f06 Mon Sep 17 00:00:00 2001 From: Paul Cody Johnston Date: Fri, 12 Nov 2021 20:26:49 +0000 Subject: [PATCH] Document behaviour of extra_args with bazel run (#1112) * Document behaviour of extra_args with bazel run Fixes #536 --- README.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 220eea3e6..c1e3796c0 100644 --- a/README.rst +++ b/README.rst @@ -302,7 +302,10 @@ The following attributes are available on the ``gazelle`` rule. +----------------------+---------------------+--------------------------------------+ | :param:`extra_args` | :type:`string_list` | :value:`[]` | +----------------------+---------------------+--------------------------------------+ -| A list of extra command line arguments passed to Gazelle. | +| A list of extra command line arguments passed to Gazelle. Note that | +| ``extra_args`` are suppressed by extra command line args (e.g. | +| ``bazel run //:gazelle -- subdir``). | +| See https://github.com/bazelbuild/bazel-gazelle/issues/536 for explanation. | +----------------------+---------------------+--------------------------------------+ | :param:`command` | :type:`string` | :value:`update` | +----------------------+---------------------+--------------------------------------+