From: Marcin Siodelski Date: Mon, 5 Nov 2018 13:37:40 +0000 (+0100) Subject: [#64,!41] Minor updates to the class_cmds reference. X-Git-Tag: 66-authoritative-flag-in-kea_base~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c1d0b71496d81b330a8c1eb95996bbf634ada0;p=thirdparty%2Fkea.git [#64,!41] Minor updates to the class_cmds reference. --- diff --git a/doc/api/class-del.json b/doc/api/class-del.json index 795a94b356..cd86213295 100644 --- a/doc/api/class-del.json +++ b/doc/api/class-del.json @@ -8,7 +8,7 @@ "cmd-syntax": "{ \"command\": \"class-del\", \"arguments\": { - \"name\": , + \"name\": } }", "resp-syntax": "{ diff --git a/doc/api/class-update.json b/doc/api/class-update.json index 7377fe5b09..436da47c73 100644 --- a/doc/api/class-update.json +++ b/doc/api/class-update.json @@ -28,7 +28,7 @@ \"result\": 0, \"text\": \"Class '' updated.\", }", - "resp-comment": "The command will return a result of 3 (empty) if the client + "resp-comment": "The command will return the result of 3 (empty) if the client class doesn't exist. If the client class exists, the retured result is 0 if the update was successful and the result is 1 if the update is unsuccessful." diff --git a/doc/guide/api.xml b/doc/guide/api.xml index 68f4d58f5f..35d920b8c9 100644 --- a/doc/guide/api.xml +++ b/doc/guide/api.xml @@ -603,7 +603,7 @@ The command will be successful (result 0), unless the { "command": "class-del", "arguments": { - "name": <name of the class>, + "name": <name of the class> } } @@ -754,7 +754,7 @@ The next-server, "result": 0, "text": "Class '<class-name>' updated.", } -The command will return a result of 3 (empty) if the client +The command will return the result of 3 (empty) if the client class doesn't exist. If the client class exists, the retured result is 0 if the update was successful and the result is 1 if the update is unsuccessful.