From: Shawn Routhier Date: Wed, 10 Jun 2015 18:57:31 +0000 (-0700) Subject: [3513] Update the doc for -W and fix some typos X-Git-Tag: trac3882a_base~3^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=17d00a3257135fc16206be82cefea5e2ba2a9348;p=thirdparty%2Fkea.git [3513] Update the doc for -W and fix some typos --- diff --git a/doc/guide/ddns.xml b/doc/guide/ddns.xml index a084477530..9b0159b98a 100644 --- a/doc/guide/ddns.xml +++ b/doc/guide/ddns.xml @@ -100,21 +100,23 @@ - The -V returns the versions of the - external libraries dynamically linked, at the opposite - the -W describes the environment used - to build Kea. + The -V command returns the versions of the + external libraries dynamically linked. - All of the executable binaries in Kea contain an embedded - copy of the config.report - file produced by ./configure - and displayed by the -W command, - but is accessible in some other ways when needed. - The following command may be used to extract this information. - The binary path may be found in the - install directory or in the .libs + The -W command describes the environment used + to build Kea. This command displays a copy of the + config.report file produced by + ./configure that is embedded in the + executable binary. + + + + The config.report may also be accessed more + directly. The following command may be used to extract this + information. The binary path may be found + in the install directory or in the .libs subdirectory in the source treee. For example kea/src/bin/d2/.libs/kea-dhcp-ddns. diff --git a/src/bin/cfgrpt/cfgrpt.cc b/src/bin/cfgrpt/cfgrpt.cc index 1de838742b..c52256ae86 100644 --- a/src/bin/cfgrpt/cfgrpt.cc +++ b/src/bin/cfgrpt/cfgrpt.cc @@ -19,8 +19,8 @@ namespace isc { namespace detail { -// The config_report array finished by an empty line ("") -// Each line before this final one begins by four semicolons (;;;;) +// The config_report array ends with an empty line ("") +// Each line before this final one starts with four semicolons (;;;;) // in order to be easy to extract from binaries. std::string getConfigReport() { diff --git a/src/bin/cfgrpt/config_report.h b/src/bin/cfgrpt/config_report.h index a081caf561..ce8aa0511d 100644 --- a/src/bin/cfgrpt/config_report.h +++ b/src/bin/cfgrpt/config_report.h @@ -20,8 +20,8 @@ namespace detail { extern const char* const config_report[]; -// The config_report array finished by an empty line ("") -// Each line before this final one begins by four semicolons (;;;;) +// The config_report array ends with an empty line ("") +// Each line before this final one starts with four semicolons (;;;;) // in order to be easy to extract from binaries. std::string getConfigReport();