summaryrefslogtreecommitdiff
path: root/doc/developer/modules.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer/modules.rst')
-rw-r--r--doc/developer/modules.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer/modules.rst b/doc/developer/modules.rst
index bde7682e4e..99c79462ab 100644
--- a/doc/developer/modules.rst
+++ b/doc/developer/modules.rst
@@ -103,9 +103,9 @@ standard entry point for loadable modules.
Command line parameters
-----------------------
-Command line parameters can be passed directly to a module by appending a
-colon to the module name when loading it, e.g. ``-M mymodule:myparameter``.
-The text after the colon will be accessible in the module's code through
+Command line parameters can be passed directly to a module by appending a
+colon to the module name when loading it, e.g. ``-M mymodule:myparameter``.
+The text after the colon will be accessible in the module's code through
``THIS_MODULE->load_args``. For example, see how the format parameter is
configured in the ``zfpm_init()`` function inside ``zebra_fpm.c``.