]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix two comments in cli-style.c
authorTom Tromey <tromey@adacore.com>
Fri, 9 May 2025 19:43:17 +0000 (13:43 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 9 May 2025 19:43:17 +0000 (13:43 -0600)
I noticed that a couple of new comments in cli-style.c mentioned the
wrong command name.  This patch fixes the comments.

gdb/cli/cli-style.c

index 34592f079fbd0e4bee8bb37948aed440a3c901d5..e6441277d05f5215ecf3f04a8c82be65d9fd031d 100644 (file)
@@ -453,7 +453,7 @@ no_emojis ()
 /* Emoji warning prefix.  */
 static std::string warning_prefix = "⚠️ ";
 
-/* Implement 'show warning-prefix'.  */
+/* Implement 'show style warning-prefix'.  */
 
 static void
 show_warning_prefix (struct ui_file *file, int from_tty,
@@ -475,7 +475,7 @@ print_warning_prefix (ui_file *file)
 /* Emoji error prefix.  */
 static std::string error_prefix = "❌️ ";
 
-/* Implement 'show error-prefix'.  */
+/* Implement 'show style error-prefix'.  */
 
 static void
 show_error_prefix (struct ui_file *file, int from_tty,