diff --git a/doc/doxygen/extradoc/parameterlist.txt b/doc/doxygen/extradoc/parameterlist.txt
index e6cfe5b828dcabfe2f2dec34dc9608e7db935083..24031f8ff03a5fa419300fabcb4991dc7ac3a473 100644
--- a/doc/doxygen/extradoc/parameterlist.txt
+++ b/doc/doxygen/extradoc/parameterlist.txt
@@ -308,6 +308,7 @@
  * | RANS                 | UseStoredEddyViscosity                        | bool                     | false           | Whether to use the stored eddy viscosity                                                                                                               |
  * | RANS                 | WallNormalAxis                                | int                      | 1               | The normal wall axis of a flat wall bounded flow                                                                                                       |
  * | RANS                 | WriteFlatWallBoundedFields                    | bool                     | isFlatWallBounded | Whether to write output fields for flat wall geometries                                                                                                |
+ * | \b Richards          | UsePrimaryVariableSwitch                      | bool                     | -               | Whether to use primary variable switch in richards model                                                                                               |
  * | \b ShallowWater      | EnableViscousFlux                             | bool                     | false           | Whether to include a viscous flux contribution.                                                                                                        |
  * | ShallowWater         | HorizontalCoefficientOfMixingLengthModel      | Scalar                   | 0.1             | For the turbulence model base on the mixing length: The Smagorinsky-like horizontal turbulence coefficient.                                            |
  * | ShallowWater         | TurbulentViscosity                            | Scalar                   | the fluid viscosity  | The (constant) background turbulent viscosity.                                                                                                         |
diff --git a/doc/doxygen/extradoc/parameters.json b/doc/doxygen/extradoc/parameters.json
index 2e22898452268946022ee24138b5aa20d4fef68c..88f76eb0dcdccf1e1c6d60507ede0b19dc31edeb 100644
--- a/doc/doxygen/extradoc/parameters.json
+++ b/doc/doxygen/extradoc/parameters.json
@@ -2441,9 +2441,6 @@
     "Problem.SandGrainRoughness": {
         "mode": "ignore"
     },
-    "Problem.UsePrimaryVariableSwitch": {
-        "mode": "ignore"
-    },
     "RANS.EddyViscosityModel": {
         "explanation": [
             "Choose the eddy viscosity model"
@@ -2489,6 +2486,11 @@
             "Whether to write output fields for flat wall geometries"
         ]
     },
+    "Richards.UsePrimaryVariableSwitch": {
+        "explanation": [
+            "Whether to use primary variable switch in richards model"
+        ]
+    },
     "ShallowWater.EnableViscousFlux": {
         "explanation": [
             "Whether to include a viscous flux contribution."