openocd: fix command's usage string
[fw/openocd] / src / jtag / hla / hla_interface.c
index 95233c0d7d3c44a265594194b53cc7efd6cf7030..490eb9f4dc984593385b9461829208cc5a5d4c18 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <target/target.h>
 
-static struct hl_interface_s hl_if = { {0, 0, { 0 }, { 0 }, 0, HL_TRANSPORT_UNKNOWN, false, -1}, 0, 0 };
+static struct hl_interface_s hl_if = { {0, 0, { 0 }, { 0 }, HL_TRANSPORT_UNKNOWN, false, -1}, 0, 0 };
 
 int hl_interface_open(enum hl_transports tr)
 {
@@ -312,7 +312,7 @@ static const struct command_registration hl_interface_command_handlers[] = {
         .name = "hla_device_desc",
         .handler = &hl_interface_handle_device_desc_command,
         .mode = COMMAND_CONFIG,
-        .help = "set the device description of the adapter",
+        .help = "set the device description of the adapter",
         .usage = "description_string",
         },
        {
@@ -341,7 +341,7 @@ static const struct command_registration hl_interface_command_handlers[] = {
         .handler = &interface_handle_hla_command,
         .mode = COMMAND_EXEC,
         .help = "execute a custom adapter-specific command",
-        .usage = "hla_command <command>",
+        .usage = "<command>",
         },
        COMMAND_REGISTRATION_DONE
 };