]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tsort: add do-nothing -w option
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Aug 2025 16:17:51 +0000 (09:17 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Aug 2025 00:35:23 +0000 (17:35 -0700)
commit39eec70f7ba360577020099b5f179940700bc67f
tree46d04f71e6e42cfbdcfd73fed9058afcfc8249d4
parent2543c0052c9be0e53c529f6be90b861ac99a092b
tsort: add do-nothing -w option

This is for conformance to POSIX.1-2024
* src/tsort.c: Include getopt.h.
(main): Accept and ignore -w.  Do not bother altering
the usage message, as the option is useless.
* tests/misc/tsort.pl (cycle-3): New test.
NEWS
doc/coreutils.texi
src/tsort.c
tests/misc/tsort.pl