Skip to content

Comment on Gems from the man page trenches (2016)parent

Comments

If you create and distribute an executable for linux/unix, and you don't create a man page for it, you are committing a crime against humanity.

I agree.

And it's so easy to do! As long as your program has a --help option, creating the manpage simply amounts to calling help2man. Just add this to your makefile:

    foo.1 : foo ; help2man -N foo > foo.1
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.