diff options
author | sternenseemann <sternenseemann@systemli.org> | 2024-03-08 18:19:58 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2024-03-08 18:19:58 +0100 |
commit | e837bc3982fd56ffaee78866016730673d1c8b95 (patch) | |
tree | 32160441a4d437a15d06eaae31838ceccc7fbc1a /pkgs/profpatsch/nman/nman.rs | |
parent | 1bbead062efe0d65a02ca4946096aeeda819c12e (diff) |
pkgs/profpatsch/nman: don't use non portable option --local-file
`man -l` is sadly not part of POSIX, but supported by both GNU's and OpenBSD's implementations of man(1) – contrary to `--local-file`.
Diffstat (limited to 'pkgs/profpatsch/nman/nman.rs')
-rw-r--r-- | pkgs/profpatsch/nman/nman.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/profpatsch/nman/nman.rs b/pkgs/profpatsch/nman/nman.rs index a6206fa9..923fc6eb 100644 --- a/pkgs/profpatsch/nman/nman.rs +++ b/pkgs/profpatsch/nman/nman.rs @@ -394,7 +394,7 @@ impl Main { &drv.output.display() )); let res = self - .debug_log_command(Command::new("man").arg("--local-file").arg(file)) + .debug_log_command(Command::new("man").arg("-l").arg(file)) .and_then(|cmd| cmd.spawn()) .and_then(|mut c| c.wait()) .map(|c| c.success()); |