diff options
author | Tom Tromey <tromey@redhat.com> | 2014-04-25 09:43:47 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-04-25 09:43:47 -0600 |
commit | bdb52a22a7672fa716997bce67ac9c1fcbd7c338 (patch) | |
tree | 46127197b1f42704e55f1a2588c57f886e02629f /gdb/cli | |
parent | e9475ead987ab329928324c3b7a38d17300580ae (diff) | |
download | gdb-bdb52a22a7672fa716997bce67ac9c1fcbd7c338.zip gdb-bdb52a22a7672fa716997bce67ac9c1fcbd7c338.tar.gz gdb-bdb52a22a7672fa716997bce67ac9c1fcbd7c338.tar.bz2 |
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.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index bfcd975..a5ef9c6 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -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); |