Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 15:44:03 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: c85cbe1b3f - main - freebsd-src-lsp: fix bear '--append' flag
Message-ID:  <202109291544.18TFi3To061992@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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@FreeBSD.org>
AuthorDate: 2021-09-28 21:25:25 +0000
Commit:     Mitchell Horne <mhorne@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#.
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109291544.18TFi3To061992>