help text: remove trailing space
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 27 Mar 2021 20:41:30 +0000 (21:41 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 29 May 2021 20:34:55 +0000 (21:34 +0100)
Some help text end with a useless space character.
Remove it.

Change-Id: I397e1194fac8042f0fab694222f925f906716de3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6222
Tested-by: jenkins
src/jtag/adapter.c
src/jtag/drivers/cmsis_dap.c
src/jtag/drivers/ftdi.c
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_transport.c
src/jtag/tcl.c
src/target/armv4_5.c
src/target/armv7a_cache_l2x.c
src/target/dsp563xx.c
src/target/target.c

index cf579ede069d773746955fa28cd76dbf327c17c5..0dcb78fface9c6885918d0c7c3f9dfdd2e444902 100644 (file)
@@ -584,7 +584,7 @@ static const struct command_registration adapter_command_handlers[] = {
                .handler = adapter_transports_command,
                .mode = COMMAND_CONFIG,
                .help = "Declare transports the adapter supports.",
-               .usage = "transport ... ",
+               .usage = "transport ...",
        },
        {
                .name = "usb",
index 927b33bd71fae6a77fffb9ca1d3eb14a424e4d7a..c25937531ed635249e0af993ece1c269afda91f6 100644 (file)
@@ -1763,7 +1763,7 @@ static const struct command_registration cmsis_dap_command_handlers[] = {
                .handler = &cmsis_dap_handle_vid_pid_command,
                .mode = COMMAND_CONFIG,
                .help = "the vendor ID and product ID of the CMSIS-DAP device",
-               .usage = "(vid pid)* ",
+               .usage = "(vid pid)*",
        },
        {
                .name = "cmsis_dap_serial",
index e13977fb0d8e8f417cd29a2ffcff4e4a077723c1..210d0f796b077cae0245c33cb45054c1a4866f91 100644 (file)
@@ -1004,7 +1004,7 @@ static const struct command_registration ftdi_command_handlers[] = {
                .handler = &ftdi_handle_vid_pid_command,
                .mode = COMMAND_CONFIG,
                .help = "the vendor ID and product ID of the FTDI device",
-               .usage = "(vid pid)* ",
+               .usage = "(vid pid)*",
        },
        {
                .name = "ftdi_tdo_sample_edge",
index 04e01d2520c3d0a2dbb10af0f0f4a726d8662c11..15651763da8eb9bdb36a3021a383180acc3e4a7b 100644 (file)
@@ -359,7 +359,7 @@ static const struct command_registration hl_interface_command_handlers[] = {
         .handler = &hl_interface_handle_vid_pid_command,
         .mode = COMMAND_CONFIG,
         .help = "the vendor and product ID of the adapter",
-        .usage = "(vid pid)* ",
+        .usage = "(vid pid)*",
         },
        {
         .name = "hla_stlink_backend",
index 10028260d9089c6a07ef4fb34c5aa397364b3378..d925b174a8bd051526880e8c70ae0965ee60c879 100644 (file)
@@ -76,7 +76,7 @@ hl_transport_jtag_subcommand_handlers[] = {
         .help = "Create a new TAP instance named basename.tap_type, "
         "and appends it to the scan chain.",
         .usage = "basename tap_type '-irlen' count "
-        "['-expected_id' number] ",
+        "['-expected_id' number]",
         },
        {
         .name = "init",
index 8a52c0f18b2abd819f6b65dc2c76dda93b55cb31..5dc2f14f678d931d6347d86665cd6b230e4d9a8e 100644 (file)
@@ -887,7 +887,7 @@ static const struct command_registration jtag_subcommand_handlers[] = {
                        "['-expected_id' number] "
                        "['-ignore-version'] "
                        "['-ircapture' number] "
-                       "['-mask' number] ",
+                       "['-mask' number]",
        },
        {
                .name = "tapisenabled",
@@ -1353,7 +1353,7 @@ static const struct command_registration jtag_command_handlers[] = {
                .mode = COMMAND_ANY,
                .help = "Wait for an SRST deassert. "
                        "Useful for cases where you need something to happen within ms "
-                       "of an srst deassert. Timeout in ms ",
+                       "of an srst deassert. Timeout in ms",
                .usage = "ms",
        },
        {
index b725853feb33dca840a60c71a194a335e88eb54c..8ba9136462e6e25fbd1a30dcba49e1962eb5ac94 100644 (file)
@@ -1149,7 +1149,7 @@ static const struct command_registration arm_exec_command_handlers[] = {
                .handler = handle_arm_disassemble_command,
                .mode = COMMAND_EXEC,
                .usage = "address [count ['thumb']]",
-               .help = "disassemble instructions ",
+               .help = "disassemble instructions",
        },
        {
                .name = "mcr",
index 3607a5122d85c00fc59a9642dc141420f1ae2c82..8ecdb008d7bbe9b0eb0b44a603dae726ee94555d 100644 (file)
@@ -325,7 +325,7 @@ static const struct command_registration arm7a_l2x_cache_commands[] = {
                .name = "conf",
                .handler = armv7a_l2x_cache_conf_cmd,
                .mode = COMMAND_ANY,
-               .help = "configure l2x cache ",
+               .help = "configure l2x cache",
                .usage = "<base_addr> <number_of_way>",
        },
        {
index b825429e0b18ab50262dea954c4ecea66048ca94..21bed899653d839072dc3d05404e21b84b892726 100644 (file)
@@ -2243,7 +2243,7 @@ static const struct command_registration dsp563xx_command_handlers[] = {
                .handler = dsp563xx_remove_watchpoint_command,
                .mode = COMMAND_EXEC,
                .help = "remove watchpoint custom",
-               .usage = " ",
+               .usage = "",
        },
        COMMAND_REGISTRATION_DONE
 };
index d60e642c94632e6c061811a134b70f812ccfc069..1c1deeef9c47287d02d8fd5c578a3e1a3674dcc6 100644 (file)
@@ -6677,15 +6677,15 @@ static const struct command_registration target_exec_command_handlers[] = {
                .handler = handle_target_reset_nag,
                .mode = COMMAND_ANY,
                .help = "Nag after each reset about options that could have been "
-                               "enabled to improve performance. ",
+                               "enabled to improve performance.",
                .usage = "['enable'|'disable']",
        },
        {
                .name = "ps",
                .handler = handle_ps_command,
                .mode = COMMAND_EXEC,
-               .help = "list all tasks ",
-               .usage = " ",
+               .help = "list all tasks",
+               .usage = "",
        },
        {
                .name = "test_mem_access",