Re: [PATCH 1/3] doc-diff: fix non-portable 'man' invocation

2018-08-31 Thread Jeff King
On Fri, Aug 31, 2018 at 02:33:16AM -0400, Eric Sunshine wrote: > doc-diff invokes 'man' with the -l option to force "local" mode, > however, neither MacOS nor FreeBSD recognize this option. On those > platforms, if the argument to 'man' contains a slash, it is > automatically interpreted as a file

[PATCH 1/3] doc-diff: fix non-portable 'man' invocation

2018-08-30 Thread Eric Sunshine
doc-diff invokes 'man' with the -l option to force "local" mode, however, neither MacOS nor FreeBSD recognize this option. On those platforms, if the argument to 'man' contains a slash, it is automatically interpreted as a file specification, so a "local"-like mode is not needed. And, it turns out,