From 51ce9885c4987b7cf12d948daa1db2b50339df79 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 23 Aug 2016 07:38:34 +0200 Subject: By default append .config to user's module names in cfg-create The idea is that in the bpkg amalgamation we only want the configuration, without any rules, etc. This can be overridden by adding the period at the end of the module name. While at it, recognize the leading question mark in the module name and treat it as the optional module load. --- bpkg/cfg-create.cli | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bpkg/cfg-create.cli') diff --git a/bpkg/cfg-create.cli b/bpkg/cfg-create.cli index 510f477..c01c039 100644 --- a/bpkg/cfg-create.cli +++ b/bpkg/cfg-create.cli @@ -33,6 +33,16 @@ namespace bpkg \ bpkg create cxx config.cxx=clang++ config.install.root=/usr/local \ + + By default, \cb{bpkg} appends \cb{.config} to the names of the modules + that you specify so that only their configurations are loaded. You can + override this behavior by appending the period (\cb{.}) after the module + name. You can also instruct \cb{bpkg} to use the optional module load by + prefixing the module name with the question mark (\cb{?}). For example: + + \ + bpkg create cxx. \"?cli\" + \ " } -- cgit v1.1