Skip to content

Commit

Permalink
Document behaviour of extra_args with bazel run (#1112)
Browse files Browse the repository at this point in the history
* Document behaviour of extra_args with bazel run

Fixes #536
  • Loading branch information
pcj committed Nov 12, 2021
1 parent ed095a3 commit dd75850
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
+----------------------+---------------------+--------------------------------------+
Expand Down

0 comments on commit dd75850

Please sign in to comment.