document "quit" command's argument
authorTom Tromey <tromey@redhat.com>
Fri, 25 Apr 2014 15:43:47 +0000 (09:43 -0600)
committerTom Tromey <tromey@redhat.com>
Fri, 25 Apr 2014 15:43:47 +0000 (09:43 -0600)
2014-04-25  Tom Tromey  <tromey@redhat.com>

* cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
argument.

gdb/ChangeLog
gdb/cli/cli-cmds.c

index 742cff9fa5e5ea5b95369f9f5488772c3ac64999..94555f954a877806170ea3e01f927a5e13d1dc61 100644 (file)
@@ -1,3 +1,8 @@
+2014-04-25  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
+       argument.
+
 2014-04-24  Sanimir Agovic  <sanimir.agovic@intel.com>
 
        * NEWS: Mention support for C99 variable length arrays.
index bfcd975dfc8272dc98512b62e463380797d19901..a5ef9c6d5eb552d00fef12253c062c8f6b1374ac 100644 (file)
@@ -1685,7 +1685,11 @@ strict == evaluate script according to filename extension, error if not supporte
                        show_script_ext_mode,
                        &setlist, &showlist);
 
-  add_com ("quit", class_support, quit_command, _("Exit gdb."));
+  add_com ("quit", class_support, quit_command, _("\
+Exit gdb.\n\
+Usage: quit [EXPR]\n\
+The optional expression EXPR, if present, is evaluated and the result\n\
+used as GDB's exit code.  The default is zero."));
   c = add_com ("help", class_support, help_command,
               _("Print list of commands."));
   set_cmd_completer (c, command_completer);
This page took 0.027922 seconds and 4 git commands to generate.