Hacker News new | ask | show | jobs
by dickeytk 2809 days ago
If the man pages are simply generated from the help output, why bother having them when you can just use `--help`?
3 comments

Because the expectation on UNIX-like systems is that I can type `man foo` and get the manpage for `foo`.

It's good manners for a CLI app you want installed on someone's system to also integrate with the help infrastructure of that system.

The end result argues against using help2man and thinking that --help and the user manual should be the same thing, not against having a user manual at all. (-:

* https://news.ycombinator.com/item?id=18174025

apropos