]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: rename "unconfigure lldp custom-tlvs" to "unconfigure lldp custom-tlv" 124/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 30 Jul 2015 11:26:13 +0000 (14:26 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 30 Jul 2015 11:26:19 +0000 (14:26 +0300)
There was a bit of confusion regarding this command.
It's documented as 'unconfigure lldp custom-tlv', when in fact it's
'unconfigure lldp custom-tlvs' (plural).

That's also my fault, since I did not update much (or take care about)
documentation.
It seems simpler to rename the command as is in the doc than change
the doc.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
src/client/conf-lldp.c

index 195df122c50ff71617fd54b2d8a7018ff7ada176..a39de5eb71b14f496074851494f1b3d47107f3a6 100644 (file)
@@ -454,7 +454,7 @@ register_commands_configure_lldp(struct cmd_node *configure,
        register_commands_configure_lldp_custom_tlvs(configure_lldp);
        commands_new(
                commands_new(unconfigure_lldp,
-                       "custom-tlvs",
+                       "custom-tlv",
                        "Clear all (previously set) custom TLVs",
                        NULL, NULL, NULL),
                NEWLINE, "Clear all (previously set) custom TLVs",