[gdb/cli] Fix typo in logging overwrite help text
authorTom de Vries <tdevries@suse.de>
Thu, 25 Nov 2021 06:49:16 +0000 (07:49 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 25 Nov 2021 06:49:16 +0000 (07:49 +0100)
Currently we have:
...
$ gdb -q -batch -ex "help set logging overwrite"
Set whether logging overwrites or appends to the log file.
If set, logging overrides the log file.
...

Fix overrides -> overwrites typo.

gdb/cli/cli-logging.c

index f0ee09180f9ace9c7ad2d0a64804c2622e75d404..8efefa0c5d078654d2b6b0122117bbb91b62f07c 100644 (file)
@@ -178,7 +178,7 @@ _initialize_cli_logging ()
   add_setshow_boolean_cmd ("overwrite", class_support, &logging_overwrite, _("\
 Set whether logging overwrites or appends to the log file."), _("\
 Show whether logging overwrites or appends to the log file."), _("\
-If set, logging overrides the log file."),
+If set, logging overwrites the log file."),
                           set_logging_overwrite,
                           show_logging_overwrite,
                           &set_logging_cmdlist, &show_logging_cmdlist);