aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-06-06 18:13:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-06-06 18:13:10 +0200
commit91f57cf1b53ed0aabede6084f7e2c4a42a330a85 (patch)
tree55b25647a2d352afe268c333751547af6c128e10
parent972c033ec5b771e01d252bc37d1154ada115ffe3 (diff)
Fix incorrect option name in intro
-rw-r--r--doc/intro.cli19
1 files changed, 10 insertions, 9 deletions
diff --git a/doc/intro.cli b/doc/intro.cli
index c411256..57365a5 100644
--- a/doc/intro.cli
+++ b/doc/intro.cli
@@ -320,14 +320,14 @@ synchronizing:
new hello/0.1.0-a.0.19700101000000
\
-The \cb{--create|-C} option instructs \c{init} to create a new configuration
-in the specified directory (\c{../hello-gcc} in our case). To make referring
-to configurations easier, we can give it a name, which is what we do with
-\c{@gcc}. The next argument (\c{cc}, stands for \i{C-common}) is the build
-system module we would like to configure. It implements compilation and
-linking rules for the C and C++ languages. Finally, \c{config.cxx=g++} is (one
-of) this module's configuration variables that specifies the C++ compiler we
-would like to use (the corresponding C compiler will be determined
+The \c{--config-create|-C} option instructs \c{init} to create a new
+configuration in the specified directory (\c{../hello-gcc} in our case). To
+make referring to configurations easier, we can give it a name, which is what
+we do with \c{@gcc}. The next argument (\c{cc}, stands for \i{C-common}) is
+the build system module we would like to configure. It implements compilation
+and linking rules for the C and C++ languages. Finally, \c{config.cxx=g++} is
+(one of) this module's configuration variables that specifies the C++ compiler
+we would like to use (the corresponding C compiler will be determined
automatically). Let's for now also ignore that \c{synchronizing:...} bit along
with strange-looking \c{19700101000000} in the version \- it will become clear
what's going on here in a moment.
@@ -1592,7 +1592,8 @@ belong to the \c{hello} project. See the \l{bpkg#manifest-package-project
\c{project}} value documentation for details.|
Our two projects will be sharing the same set of build configurations, so
-next we initialize \c{libhello} in \c{hello-gcc} and \c{hello-clang}:
+next we initialize \c{libhello} in \c{hello-gcc} and \c{hello-clang} (notice
+the use of \c{--config-add|-A} instead of \c{--config-create|-C}):
\
$ cd libhello