summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorGiovanni <sinkingsugar@gmail.com>2018-09-15 20:06:26 +0900
committerGiovanni <sinkingsugar@gmail.com>2018-09-15 20:10:54 +0900
commitf1b64e4b96bc943d194e2e107b59b1c74cde911e (patch)
tree444a5b56bd479138bebe27098a5d05a199d188bc /doc
parent4342b79a3c05fcfb1e6fc97152daa0075b0b9603 (diff)
downloadNim-f1b64e4b96bc943d194e2e107b59b1c74cde911e.tar.gz
improve the compiler option "cppCompileToNamespace", a custom namespace can now be set
Diffstat (limited to 'doc')
-rw-r--r--doc/advopt.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index 150025509..a1b709f04 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -81,7 +81,9 @@ Advanced options:
   --NimblePath:PATH         add a path for Nimble support
   --noNimblePath            deactivate the Nimble path
   --noCppExceptions         use default exception handling with C++ backend
-  --cppCompileToNamespace   use namespace "Nim" for the generated C++ code
+  --cppCompileToNamespace:namespace
+                            use the provided namespace for the generated C++ code,
+                            if no namespace is provided "Nim" will be used
   --excludePath:PATH        exclude a path from the list of search paths
   --dynlibOverride:SYMBOL   marks SYMBOL so that dynlib:SYMBOL
                             has no effect and can be statically linked instead;