aboutsummaryrefslogtreecommitdiff
path: root/doc/manual.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-10-23 12:02:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-10-23 12:02:09 +0200
commit4eb1b56b8e0e2451a563c75946a600d875d50e5a (patch)
tree79b41668f2ffb3665b8aa7be28c07c726235312a /doc/manual.cli
parentc10c90efd41294eca8dad0bd3a20abead33032c2 (diff)
Minor tweak to compiledb documentation
Diffstat (limited to 'doc/manual.cli')
-rw-r--r--doc/manual.cli4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/manual.cli b/doc/manual.cli
index 1e489e9..e16b0fa 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -8173,8 +8173,10 @@ accommodate these assumptions we can instead place each database into the
project's source directory and call it \c{compile_commands.json}:
\
+$ cd libhello
$ bdep init @gcc config.cc.compiledb=libhello@./compile_commands.json
+$ cd hello
$ bdep init @gcc config.cc.compiledb=hello@./compile_commands.json
\
@@ -8199,8 +8201,10 @@ config.cc.compiledb=<dir>@.../<dir>/compile_commands.json
This shortcut allows us to simplify the above \c{init} commands to read:
\
+$ cd libhello
$ bdep init @gcc config.cc.compiledb=./
+$ cd hello
$ bdep init @gcc config.cc.compiledb=./
\