mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
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.
This commit is contained in:
@@ -6280,8 +6280,9 @@ total ordering. In the context of the call graph above, the function
|
||||
@code{parse_options} may be placed anywhere in the list as long as it
|
||||
precedes @code{main}.
|
||||
|
||||
The only options are @option{--help} and @option{--version}. @xref{Common
|
||||
options}.
|
||||
To conform to POSIX.1-2024, @command{tsort} accepts and ignores the
|
||||
option @option{-w}. The only other options are @option{--help} and
|
||||
@option{--version}. @xref{Common options}.
|
||||
|
||||
@exitstatus
|
||||
|
||||
|
||||
Reference in New Issue
Block a user