Add "usage" text to all TUI command help
[deliverable/binutils-gdb.git] / gdb / tui / tui-stack.c
index 18e9188277031aceb2c7661fe3b648df1e4f30b2..f1e075a3d20c1a85ed9f43714c5a90da56f4611e 100644 (file)
@@ -370,10 +370,12 @@ tui_update_command (const char *arg, int from_tty)
 /* Function to initialize gdb commands, for tui window stack
    manipulation.  */
 
+void _initialize_tui_stack ();
 void
-_initialize_tui_stack (void)
+_initialize_tui_stack ()
 {
   add_com ("update", class_tui, tui_update_command,
           _("Update the source window and locator to "
-            "display the current execution point."));
+            "display the current execution point.\n\
+Usage: update"));
 }
This page took 0.023129 seconds and 4 git commands to generate.