Re: [PATCH] xfs: use -w instead of --path for man program portability

David Disseldorp <[email protected]>
Newsgroups org.kernel.vger.fstests
Message-ID <[email protected]>
Looks fine.
Reviewed-by: David Disseldorp <[email protected]>

On Mon,  3 Aug 2026 13:58:19 +0200, Anthony Iliopoulos wrote:

> Some implementations of man(1) do not support the long option --path to
> display the actual location of a man page, which can cause these tests
> to fail on systems using alternative man packages, such as mandoc.
> 
> Switch to using the more standard -w flag across these tests to improve
> portability while maintaining the same behavior

The mandoc man.options.1 page seems to do a pretty good job of
tracking where the various flags appear across man utils.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.