This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Update help text in record.c
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 24 May 2018 18:32:56 -0000
- Subject: [binutils-gdb] Update help text in record.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a974b5ec9a253d330290d132098065b77f29bd36
commit a974b5ec9a253d330290d132098065b77f29bd36
Author: Tom Tromey <tom@tromey.com>
Date: Mon Apr 30 08:37:31 2018 -0600
Update help text in record.c
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.
Diff:
---
gdb/record.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/record.c b/gdb/record.c
index 548acfe..d4975d9 100644
--- a/gdb/record.c
+++ b/gdb/record.c
@@ -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);