aboutsummaryrefslogtreecommitdiff
path: root/gdb/record.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-04-30 08:37:31 -0600
committerTom Tromey <tom@tromey.com>2018-05-24 12:29:23 -0600
commita974b5ec9a253d330290d132098065b77f29bd36 (patch)
treecda690ea1b59a48579be468b09c6f0120a4d4232 /gdb/record.c
parentc8a15b78e676b9101045b729a38128cbe5673701 (diff)
downloadgdb-a974b5ec9a253d330290d132098065b77f29bd36.zip
gdb-a974b5ec9a253d330290d132098065b77f29bd36.tar.gz
gdb-a974b5ec9a253d330290d132098065b77f29bd36.tar.bz2
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.
Diffstat (limited to 'gdb/record.c')
-rw-r--r--gdb/record.c4
1 files 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);