From 0a4a1c6a3b46731c228431d5bd29181e0d2107c2 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 25 Nov 2021 07:49:16 +0100 Subject: [PATCH] [gdb/cli] Fix typo in logging overwrite help text 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/cli/cli-logging.c b/gdb/cli/cli-logging.c index f0ee09180f9..8efefa0c5d0 100644 --- a/gdb/cli/cli-logging.c +++ b/gdb/cli/cli-logging.c @@ -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); -- 2.30.2