]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: adjust --help hyperlinks to more standard format
authorPádraig Brady <P@draigBrady.com>
Tue, 20 Jan 2026 20:33:34 +0000 (20:33 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 13:51:58 +0000 (13:51 +0000)
* src/system.h (oputs_): Use ST rather than BEL.

src/system.h

index 12a8d442522a5ab67bb6738937a27bb82f7ccefe..bf3ad620f3b3ab60bdc77bbdb4ff496248b5e8e7 100644 (file)
@@ -609,7 +609,7 @@ oputs_ (MAYBE_UNUSED char const* program, char const *option)
       printf ("\033]8;;%s#%s%.*s", MANUAL_URL, url_program,
               (int) anchor_len, option_text);
     }
-  fputs ("\a", stdout);
+  fputs ("\033\\", stdout);
 #endif
 #ifdef BOLD_MAN_REFS
   /* Note help2man strips this and will reinstate with --bold-refs.  */
@@ -621,7 +621,7 @@ oputs_ (MAYBE_UNUSED char const* program, char const *option)
   fputs ("\033[0m", stdout);
 #endif
 #ifdef MANUAL_URL
-  fputs ("\033]8;;\a", stdout);
+  fputs ("\033]8;;\033\\", stdout);
 #endif
 
   /* write description.  */