]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Corrected examples for lease4-wipe (comment fix)
authorTomek Mrugalski <tomasz@isc.org>
Mon, 14 May 2018 10:57:40 +0000 (12:57 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 14 May 2018 10:57:40 +0000 (12:57 +0200)
src/hooks/dhcp/lease_cmds/lease_cmds.h

index dcbfdc769d069bc7da217441401e94e0a371603b..7b8fd123a3c76098bd7b164c0cb9c2c05807cdb9 100644 (file)
@@ -308,11 +308,11 @@ public:
     /// argument accordingly.
     ///
     /// Example command:
-    /// {\n"
-    ///     "command": "lease4-wipe",\n"
-    ///     "arguments": {"
+    /// {
+    ///     "command": "lease4-wipe",
+    ///     "arguments": {
     ///         "subnet-id": 44
-    ///     }\n"
+    ///     }
     /// }";
     ///
     /// @param handle Callout context - which is expected to contain the
@@ -332,12 +332,12 @@ public:
     /// argument accordingly.
     ///
     /// Example command:
-    /// {\n"
-    ///     "command": "lease4-wipe",\n"
-    ///     "arguments": {"
+    /// {
+    ///     "command": "lease4-wipe",
+    ///     "arguments": {
     ///         "subnet-id": 44
-    ///     }\n"
-    /// }";
+    ///     }
+    /// };
     ///
     /// @param handle Callout context - which is expected to contain the
     /// wipe command JSON text in the "command" argument