]> git.sur5r.net Git - openocd/commitdiff
cmd: add missing usage var
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 9 Jan 2012 16:14:18 +0000 (16:14 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 12 Jan 2012 20:45:01 +0000 (20:45 +0000)
Change-Id: I0f05d643b0801b19cc3beb88f0d12d7e4c83ef9c
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/356
Tested-by: jenkins
19 files changed:
src/flash/nor/at91sam3.c
src/flash/nor/at91sam7.c
src/flash/nor/avrf.c
src/flash/nor/em357.c
src/flash/nor/fm3.c
src/flash/nor/lpc2000.c
src/flash/nor/lpc2900.c
src/flash/nor/pic32mx.c
src/flash/nor/stellaris.c
src/flash/nor/stm32f1x.c
src/flash/nor/stm32f2x.c
src/flash/nor/stm32lx.c
src/flash/nor/str7x.c
src/flash/nor/str9x.c
src/flash/nor/str9xpec.c
src/flash/nor/tms470.c
src/jtag/stlink/stlink_transport.c
src/target/target.c
src/target/target_request.c

index 85395cdd85bc991264e5721b0b708c640dc5a26a..21bfa39c3492a2a52a9194cbcd322a697679febd 100644 (file)
@@ -3244,6 +3244,7 @@ static const struct command_registration at91sam3_command_handlers[] = {
                .name = "at91sam3",
                .mode = COMMAND_ANY,
                .help = "at91sam3 flash command group",
+               .usage = "",
                .chain = at91sam3_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 2b822b7d2d703b473180932de2be61f6c83a4df5..c2506be35a01b4741078476e548b76d45c3ea234 100644 (file)
@@ -1287,6 +1287,7 @@ static const struct command_registration at91sam7_command_handlers[] = {
                .name = "at91sam7",
                .mode = COMMAND_ANY,
                .help = "at91sam7 flash command group",
+               .usage = "",
                .chain = at91sam7_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 1ade45267deffd78d778b464e5e592406137a134..462aee2c88bc9b699fa2b06c38a8145dcc6d3f37 100644 (file)
@@ -492,6 +492,7 @@ static const struct command_registration avrf_command_handlers[] = {
                .name = "avrf",
                .mode = COMMAND_ANY,
                .help = "AVR flash command group",
+               .usage = "",
                .chain = avrf_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index c045d57740970fdc399077b475d6caf4db8f4ef2..2e40601f8aa9b18d2bccdc4676a81ff919a046a6 100644 (file)
@@ -946,6 +946,7 @@ static const struct command_registration em357_command_handlers[] = {
                .name = "em357",
                .mode = COMMAND_ANY,
                .help = "em357 flash command group",
+               .usage = "",
                .chain = em357_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 78e71d2902cbbf82bade405c871dde9992289711..2119e4f273694db39bef682ce71979d8303a99c1 100644 (file)
@@ -886,6 +886,7 @@ static const struct command_registration fm3_command_handlers[] = {
                .name = "fm3",
                .mode = COMMAND_ANY,
                .help = "fm3 Flash command group",
+               .usage = "",
                .chain = fm3_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index b4e17e7eabecc2f54d12518f1964fa3fc6a444e6..b9b04fef9aba7f456c9f703b3100f5e0369ead87 100644 (file)
@@ -836,6 +836,7 @@ static const struct command_registration lpc2000_exec_command_handlers[] = {
                .handler = lpc2000_handle_part_id_command,
                .mode = COMMAND_EXEC,
                .help = "print part id of lpc2000 flash bank <num>",
+               .usage = "<bank>",
        },
        COMMAND_REGISTRATION_DONE
 };
@@ -844,6 +845,7 @@ static const struct command_registration lpc2000_command_handlers[] = {
                .name = "lpc2000",
                .mode = COMMAND_ANY,
                .help = "lpc2000 flash command group",
+               .usage = "",
                .chain = lpc2000_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 4960e9c6be7ab8992c1133d7eb6f0a90098a777f..5a80b323d97f25f622361d742717e20f021d16a0 100644 (file)
@@ -1004,6 +1004,7 @@ static const struct command_registration lpc2900_command_handlers[] = {
                .name = "lpc2900",
                .mode = COMMAND_ANY,
                .help = "LPC2900 flash command group",
+               .usage = "",
                .chain = lpc2900_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 957bfc2a5153b86a90c7c736c1e87b9a16118762..cc7d99c7027cf9e8250c3ea4b6a38b110cee9c8a 100644 (file)
@@ -855,6 +855,7 @@ static const struct command_registration pic32mx_command_handlers[] = {
                .name = "pic32mx",
                .mode = COMMAND_ANY,
                .help = "pic32mx flash command group",
+               .usage = "",
                .chain = pic32mx_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 13b7071e3f813b7f57350347d7510435751660f9..10e4d559fc0653970101580f623fdb7ad5b7e2d9 100644 (file)
@@ -1451,6 +1451,7 @@ static const struct command_registration stellaris_command_handlers[] = {
                .name = "stellaris",
                .mode = COMMAND_EXEC,
                .help = "Stellaris flash command group",
+               .usage = "",
                .chain = stellaris_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 738c2dac7037663550822f0b16f443b4639dad44..b4ec93f6339754e9f69778e47923be747f1b6784 100644 (file)
@@ -1671,6 +1671,7 @@ static const struct command_registration stm32x_command_handlers[] = {
                .name = "stm32f1x",
                .mode = COMMAND_ANY,
                .help = "stm32f1x flash command group",
+               .usage = "",
                .chain = stm32x_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index b7e100960daf4463c9cedcf0e5efef6553456832..6457f203847a80c62447db008dace514755d1351 100644 (file)
@@ -807,6 +807,7 @@ static const struct command_registration stm32x_command_handlers[] = {
                .name = "stm32f2x",
                .mode = COMMAND_ANY,
                .help = "stm32f2x flash command group",
+               .usage = "",
                .chain = stm32x_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 2cd16d6f9773980c91476982249069c63b8707a1..8ba2b83d4c5c44ebc1199f04624a96a92d6afd98 100644 (file)
@@ -740,6 +740,7 @@ static const struct command_registration stm32lx_command_handlers[] =
                .name = "stm32lx",
                .mode = COMMAND_ANY,
                .help = "stm32lx flash command group",
+               .usage = "",
                .chain = stm32lx_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 0bfe7c9e8a320aff128ee75ba6bb85b98a6ce370..86db9ab46d39a3b23780dbe108de08f39e61ccd8 100644 (file)
@@ -853,6 +853,7 @@ static const struct command_registration str7x_command_handlers[] = {
                .name = "str7x",
                .mode = COMMAND_ANY,
                .help = "str7x flash command group",
+               .usage = "",
                .chain = str7x_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 674522c73464047bf5e482b01aab79018289ca86..1f2c9581385fca52c9536d3d32a9d119e9928ccd 100644 (file)
@@ -735,6 +735,7 @@ static const struct command_registration str9x_command_handlers[] = {
                .name = "str9x",
                .mode = COMMAND_ANY,
                .help = "str9x flash command group",
+               .usage = "",
                .chain = str9x_config_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 0e095a30434e4e1ed4a09ec08538c69b8a242e32..fc2ed3590f4dd772e910e2cc5913c1c636f08dfc 100644 (file)
@@ -1279,6 +1279,7 @@ static const struct command_registration str9xpec_command_handlers[] = {
                .name = "str9xpec",
                .mode = COMMAND_ANY,
                .help = "str9xpec flash command group",
+               .usage = "",
                .chain = str9xpec_config_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index b28aee434625ce86e692b18cf003a76cc6ef43ca..393ca76e5a9b7688cff878c75ba8618b8dd830bb 100644 (file)
@@ -863,6 +863,7 @@ static const struct command_registration tms470_command_handlers[] = {
                .name = "tms470",
                .mode = COMMAND_ANY,
                .help = "TI tms470 flash command group",
+               .usage = "",
                .chain = tms470_any_command_handlers,
        },
        COMMAND_REGISTRATION_DONE
index 6f16195408e6858c1f478fc1254cda27f56acb9a..c073ffed65b809ea9750bc6a52fae1e3e06abaf1 100644 (file)
@@ -59,16 +59,19 @@ stlink_transport_jtag_subcommand_handlers[] = {
         .name = "init",
         .mode = COMMAND_ANY,
         .handler = stlink_transport_jtag_command,
+        .usage = ""
         },
        {
         .name = "arp_init",
         .mode = COMMAND_ANY,
         .handler = stlink_transport_jtag_command,
+        .usage = ""
         },
        {
         .name = "arp_init-reset",
         .mode = COMMAND_ANY,
         .handler = stlink_transport_jtag_command,
+        .usage = ""
         },
        {
         .name = "tapisenabled",
@@ -84,11 +87,13 @@ stlink_transport_jtag_subcommand_handlers[] = {
         .name = "tapdisable",
         .mode = COMMAND_EXEC,
         .handler = stlink_transport_jtag_command,
+        .usage = "",
         },
        {
         .name = "configure",
         .mode = COMMAND_EXEC,
         .handler = stlink_transport_jtag_command,
+        .usage = "",
         },
        {
         .name = "cget",
@@ -99,6 +104,7 @@ stlink_transport_jtag_subcommand_handlers[] = {
         .name = "names",
         .mode = COMMAND_ANY,
         .handler = stlink_transport_jtag_command,
+        .usage = "",
         },
 
        COMMAND_REGISTRATION_DONE
@@ -110,11 +116,13 @@ static const struct command_registration stlink_transport_command_handlers[] = {
         .name = "stlink",
         .mode = COMMAND_ANY,
         .help = "perform stlink actions",
+        .usage = "",
         .chain = stlink_transport_stlink_subcommand_handlers,
         },
        {
         .name = "jtag",
         .mode = COMMAND_ANY,
+        .usage = "",
         .chain = stlink_transport_jtag_subcommand_handlers,
         },
        COMMAND_REGISTRATION_DONE
index 692b78f8b10304428ed735406c3717ceaf1f66d9..c3d65e33bdf7eea988d692720e3420d7a0c30ac2 100644 (file)
@@ -5050,6 +5050,7 @@ static int target_create(Jim_GetOptInfo *goi)
                        .name = cp,
                        .mode = COMMAND_ANY,
                        .help = "target command group",
+                       .usage = "",
                        .chain = target_subcommands,
                },
                COMMAND_REGISTRATION_DONE
index c669ab4ab1c239beed3fb94a34b6e34b05159ae6..090de9fe64f45ba0b37a6af302db63ec739baf39 100644 (file)
@@ -326,6 +326,7 @@ static const struct command_registration target_req_command_handlers[] = {
                .name = "target_request",
                .mode = COMMAND_ANY,
                .help = "target request command group",
+               .usage = "",
                .chain = target_req_exec_command_handlers,
        },
        COMMAND_REGISTRATION_DONE