I used both command lines and displayed the same output
Asked
Active
Viewed 928 times
1
1 Answers
2
Some programs and commands implement --help
to give a quick usage summary but man
pages are usually much more detailed, better formatted and allow navigation through them instead of a plain text output.

Julie Pelletier
- 7,622
foo
--help
, you're running the actualfoo
program, and getting documentation that's written into that program. But if you sayman
foo
, you might be getting documentation for a different version offoo
. – G-Man Says 'Reinstate Monica' May 21 '16 at 02:55