git: c85cbe1b3f - main - freebsd-src-lsp: fix bear '--append' flag

Mitchell Horne <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by mhorne (src committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=c85cbe1b3ff3e1a851fc8554bed888405a03495a

commit c85cbe1b3ff3e1a851fc8554bed888405a03495a
Author:     Mitchell Horne <[email protected]>
AuthorDate: 2021-09-28 21:25:25 +0000
Commit:     Mitchell Horne <[email protected]>
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#.
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.