diff xml/en/docs/http/ngx_http_js_module.xml @ 2026:af51ec6b5489

Fixed typos in njs configure string examples. Reported by PGNet Dev.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 14 Aug 2017 13:43:08 +0300
parents 0227aa9b87de
children 59a3cc84f507
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml
+++ b/xml/en/docs/http/ngx_http_js_module.xml
@@ -9,7 +9,7 @@
 <module name="Module ngx_http_js_module"
         link="/en/docs/http/ngx_http_js_module.html"
         lang="en"
-        rev="6">
+        rev="7">
 
 <section id="summary">
 
@@ -23,7 +23,7 @@ a subset of the JavaScript language.
 <para>
 This module is not built by default, it should be compiled with
 the nginScript module using the
-<literal>--add_module</literal> configuration parameter:
+<literal>--add-module</literal> configuration parameter:
 <example>
 ./configure --add-module=<value>path-to-njs</value>/nginx
 </example>
@@ -36,7 +36,7 @@ hg clone http://hg.nginx.org/njs
 This module can also be built as
 <link doc="../ngx_core_module.xml" id="load_module">dynamic</link>:
 <example>
-./configure --add-dynamic_module=<value>path-to-njs</value>/nginx
+./configure --add-dynamic-module=<value>path-to-njs</value>/nginx
 </example>
 </para>