document "quit" command's argument

2014-04-25  Tom Tromey  <tromey@redhat.com>

	* cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
	argument.
This commit is contained in:
Tom Tromey 2014-04-25 09:43:47 -06:00
parent e9475ead98
commit bdb52a22a7
2 changed files with 10 additions and 1 deletions

View 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.

View 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);