]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: dir,vdir: fix anchor refs from --help
authorPádraig Brady <P@draigBrady.com>
Thu, 22 Jan 2026 16:23:41 +0000 (16:23 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 Jan 2026 16:23:41 +0000 (16:23 +0000)
* src/system.h (oputs_): Map from dir,vdir to ls.

src/system.h

index c6fe16750e22bb04a5e080feb43977920d004d18..80779640db4673d2af69653190352a4854dc5d3d 100644 (file)
@@ -588,6 +588,8 @@ oputs_ (MAYBE_UNUSED char const* program, char const *option)
   /* write option text.  */
 #ifdef MANUAL_URL
   char const *url_program =   streq (program, "[") ? "test"
+                            : streq (program, "dir") ? "ls"
+                            : streq (program, "vdir") ? "ls"
                             : streq (program, "b2sum") ? "cksum"
                             : streq (program, "md5sum") ? "cksum"
                             : streq (program, "sha1sum") ? "cksum"