19

Wouldn't it be more consistent if one of these always worked?

Michael Mrozek
  • 93,103
  • 40
  • 240
  • 233
Casebash
  • 1,051

3 Answers3

23

Yes it would be more consistent. This has nothing to do with cross-platform and everything to do with developers not writing (wanting to write) documentation. a man page is documentation, --help is mostly programming in nature. I've also seen the case where man pages didn't exist because the developer didn't know how to make one, or convert the documentation from another format, sometimes this is easily remedied.

I would like to note that I wish both always worked.

xenoterracide
  • 59,188
  • 74
  • 187
  • 252
13

I agree with @xenoterracide's answer - both would be nice...
I expect --help to report functionality and options real short.
I expect man (or info...) to describe in detail what was previously reported by --help, maybe provide some examples, background etc.

Ardent Coder
  • 107
  • 7
Nils
  • 361
1

Some people do not like man pages, and write info files instead (notably GNU).

bhm
  • 751