]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update core-related help strings
authorTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 14:37:22 +0000 (08:37 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 24 May 2018 18:29:20 +0000 (12:29 -0600)
This updates some help strings in corefile.c and gcore.c.

2018-04-27  Tom Tromey  <tom@tromey.com>

* corefile.c (_initialize_core): Update help string.
* gcore.c (_initialize_gcore): Update help string.

gdb/corefile.c
gdb/gcore.c

index 06b26863f3ba2fda1e0ed4ff841d88205bc51391..5f66ead89751b1a1f77847cd383bd4a573458902 100644 (file)
@@ -485,6 +485,7 @@ _initialize_core (void)
 
   c = add_cmd ("core-file", class_files, core_file_command, _("\
 Use FILE as core dump for examining memory and registers.\n\
+Usage: core-file FILE\n\
 No arg means have no core file.  This command has been superseded by the\n\
 `target core' and `detach' commands."), &cmdlist);
   set_cmd_completer (c, filename_completer);
index 5ff4e6dc77c96fee31e1afd7c830c45b698e56a7..c53810049cccb2984ab5ff1089a5479515e84637 100644 (file)
@@ -611,7 +611,8 @@ _initialize_gcore (void)
 {
   add_com ("generate-core-file", class_files, gcore_command, _("\
 Save a core file with the current state of the debugged process.\n\
-Argument is optional filename.  Default filename is 'core.<process_id>'."));
+Usage: generate-core-file [FILENAME]\n\
+Argument is optional filename.  Default filename is 'core.PROCESS_ID'."));
 
   add_com_alias ("gcore", "generate-core-file", class_files, 1);
 }