public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] gcov: Fix "subcomand" typos [PR109297]
@ 2023-03-27 12:50 Jonathan Wakely
  2023-03-28  9:56 ` [committed] gcov-tool: Use subcommand rather than sub-command in function comments Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Wakely @ 2023-03-27 12:50 UTC (permalink / raw)
  To: gcc-patches

Committed as obvious.

-- >8 --

gcc/ChangeLog:

	PR gcov-profile/109297
	* gcov-tool.cc (merge_usage): Fix "subcomand" typo.
	(merge_stream_usage): Likewise.
	(overlap_usage): Likewise.
---
 gcc/gcov-tool.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/gcov-tool.cc b/gcc/gcov-tool.cc
index 88b7936a4f4..0140e7f2a4a 100644
--- a/gcc/gcov-tool.cc
+++ b/gcc/gcov-tool.cc
@@ -185,7 +185,7 @@ static const struct option merge_options[] =
 static void ATTRIBUTE_NORETURN
 merge_usage (void)
 {
-  fnotice (stderr, "Merge subcomand usage:");
+  fnotice (stderr, "Merge subcommand usage:");
   print_merge_usage_message (true);
   exit (FATAL_EXIT_CODE);
 }
@@ -255,7 +255,7 @@ static const struct option merge_stream_options[] =
 static void ATTRIBUTE_NORETURN
 merge_stream_usage (void)
 {
-  fnotice (stderr, "Merge-stream subcomand usage:");
+  fnotice (stderr, "Merge-stream subcommand usage:");
   print_merge_stream_usage_message (true);
   exit (FATAL_EXIT_CODE);
 }
@@ -507,7 +507,7 @@ static const struct option overlap_options[] =
 static void ATTRIBUTE_NORETURN
 overlap_usage (void)
 {
-  fnotice (stderr, "Overlap subcomand usage:");
+  fnotice (stderr, "Overlap subcommand usage:");
   print_overlap_usage_message (true);
   exit (FATAL_EXIT_CODE);
 }
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [committed] gcov-tool: Use subcommand rather than sub-command in function comments
  2023-03-27 12:50 [committed] gcov: Fix "subcomand" typos [PR109297] Jonathan Wakely
@ 2023-03-28  9:56 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2023-03-28  9:56 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-patches

Hi!

Follow-up to the recently committed fix of fixing the "subcomand" typos
in diagnostics.

Committed to trunk as obvious.

2023-03-28  Jakub Jelinek  <jakub@redhat.com>
	    Jonathan Wakely  <jwakely@redhat.com>

	* gcov-tool.cc (do_merge, do_merge_stream, do_rewrite, do_overlap):
	Use subcommand rather than sub-command in function comments.

--- gcc/gcov-tool.cc.jj	2023-03-28 10:26:23.579047495 +0200
+++ gcc/gcov-tool.cc	2023-03-28 11:51:27.545112038 +0200
@@ -190,7 +190,7 @@ merge_usage (void)
   exit (FATAL_EXIT_CODE);
 }
 
-/* Driver for profile merge sub-command.  */
+/* Driver for profile merge subcommand.  */
 
 static int
 do_merge (int argc, char **argv)
@@ -260,7 +260,7 @@ merge_stream_usage (void)
   exit (FATAL_EXIT_CODE);
 }
 
-/* Driver for profile merge-stream sub-command.  */
+/* Driver for profile merge-stream subcommand.  */
 
 static int
 do_merge_stream (int argc, char **argv)
@@ -358,7 +358,7 @@ rewrite_usage (void)
   exit (FATAL_EXIT_CODE);
 }
 
-/* Driver for profile rewrite sub-command. */
+/* Driver for profile rewrite subcommand.  */
 
 static int
 do_rewrite (int argc, char **argv)
@@ -518,7 +518,7 @@ int overlap_hot_only;
 int overlap_use_fullname;
 double overlap_hot_threshold = 0.005;
 
-/* Driver for profile overlap sub-command.  */
+/* Driver for profile overlap subcommand.  */
 
 static int
 do_overlap (int argc, char **argv)

	Jakub


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-28  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 12:50 [committed] gcov: Fix "subcomand" typos [PR109297] Jonathan Wakely
2023-03-28  9:56 ` [committed] gcov-tool: Use subcommand rather than sub-command in function comments Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).