invoke man(1) when requesting help

This commit invokes `man(1)` when requesting help and emits the built-in
manual, if the manual page is not found on the system.
This commit is contained in:
Emil Engler
2023-04-16 10:47:15 +02:00
parent 096c811491
commit 13cc7e05ed
5 changed files with 67 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ paste = "1.0.11"
log = { version = "0.4.17", optional = true }
env_logger = { version = "0.10.0", optional = true }
[build-dependencies]
anyhow = "1.0.70"
[dev-dependencies]
criterion = "0.3.5"
test_bin = "0.4.0"