]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update help text in record.c
authorTom Tromey <tom@tromey.com>
Mon, 30 Apr 2018 14:37:31 +0000 (08:37 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 24 May 2018 18:29:23 +0000 (12:29 -0600)
This updates some help text in record.c to conform to GNU standards.
I also added a "Usage" line to "record save".

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

* record.c (_initialize_record): Update help text.

gdb/record.c

index 548acfe36411d56a47dae2fdb8b61f48b2f2aaae..d4975d905daef49b886133d988347ce5cc129eb7 100644 (file)
@@ -822,8 +822,8 @@ A size of \"unlimited\" means unlimited lines.  The default is 10."),
 
   c = add_cmd ("save", class_obscure, cmd_record_save,
               _("Save the execution log to a file.\n\
-Argument is optional filename.\n\
-Default filename is 'gdb_record.<process_id>'."),
+Usage: record save [FILENAME]\n\
+Default filename is 'gdb_record.PROCESS_ID'."),
               &record_cmdlist);
   set_cmd_completer (c, filename_completer);