git: c85cbe1b3f - main - freebsd-src-lsp: fix bear '--append' flag
Mitchell Horne
mhorne at FreeBSD.org
Wed Sep 29 15:44:03 UTC 2021
The branch main has been updated by mhorne (src committer):
URL: https://cgit.FreeBSD.org/doc/commit/?id=c85cbe1b3ff3e1a851fc8554bed888405a03495a
commit c85cbe1b3ff3e1a851fc8554bed888405a03495a
Author: Mitchell Horne <mhorne at FreeBSD.org>
AuthorDate: 2021-09-28 21:25:25 +0000
Commit: Mitchell Horne <mhorne at FreeBSD.org>
CommitDate: 2021-09-29 15:43:29 +0000
freebsd-src-lsp: fix bear '--append' flag
The bear utility does not have a -a flag, but rather --append.
Reviewed by: debdrup, ygy, khng
Approved by: debdrup (docs)
Differential Revision: https://reviews.freebsd.org/D32213
---
documentation/content/en/articles/freebsd-src-lsp/_index.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/content/en/articles/freebsd-src-lsp/_index.adoc b/documentation/content/en/articles/freebsd-src-lsp/_index.adoc
index 915c06d0e8..ef2127f5f9 100644
--- a/documentation/content/en/articles/freebsd-src-lsp/_index.adoc
+++ b/documentation/content/en/articles/freebsd-src-lsp/_index.adoc
@@ -234,10 +234,10 @@ In the top-level directory of the FreeBSD src tree, to generate compilation data
[source,shell]
....
-# bear -a make buildworld buildkernel -j`sysctl -n hw.ncpu`
+# bear --append make buildworld buildkernel -j`sysctl -n hw.ncpu`
....
-The `-a` flag tells `bear` to read an existing compilation database if it is present, and append the results to the database.
+The `--append` flag tells `bear` to read an existing compilation database if it is present, and append the results to the database.
Entries with duplicated command key are merged.
The generated compilation database by default is saved in the current working directory as [.filename]#compiler_commands.json#.
More information about the dev-commits-doc-all
mailing list