X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fstartup.tcl;h=dc3a0895729001693054145838ae171faacf1276;hp=294dee28de75576469e90c9da53a043b465c532a;hb=cebfbfa661b4e53cabf23bbb32c227e0b1962c77;hpb=a65255a06d7252614f0061823860568f4aefe1b7;ds=inline diff --git a/src/startup.tcl b/src/startup.tcl index 294dee28de..dc3a089572 100644 --- a/src/startup.tcl +++ b/src/startup.tcl @@ -19,6 +19,11 @@ proc add_help_text {cmd cmd_help} { lappend ocd_helptext [list $cmd $cmd_help] } +proc get_help_text {} { + global ocd_helptext + return $ocd_helptext +} + # Production command # FIX!!! need to figure out how to feed back relevant output # from e.g. "flash banks" command...