sdiff: simplify give_help slightly
authorPaul Eggert <[email protected]>
Fri, 5 Sep 2025 21:31:09 +0000 (5 14:31 -0700)
committerPaul Eggert <[email protected]>
Fri, 5 Sep 2025 21:47:08 +0000 (5 14:47 -0700)
* src/sdiff.c (give_help): Simplify by using fputs instead of fprintf.

src/sdiff.c

index 8b7e2b1..a743517 100644 (file)
@@ -803,7 +803,7 @@ checksigs (void)
 static void
 give_help (void)
 {
-  fprintf (stderr, "%s", _("\
+  fputs (_("\
 ed:\tEdit then use both versions, each decorated with a header.\n\
 eb:\tEdit then use both versions.\n\
 el or e1:\tEdit then use the left version.\n\
@@ -814,7 +814,7 @@ r or 2:\tUse the right version.\n\
 s:\tSilently include common lines.\n\
 v:\tVerbosely include common lines.\n\
 q:\tQuit.\n\
-"));
+"), stderr);
 }
 
 static int