[dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

From: Suraj Kurapati <sunaku_AT_gmail.com>
Date: Tue, 17 Aug 2010 19:54:44 -0700

On Tue, Aug 17, 2010 at 8:40 AM, Alexander Teinum <ateinum_AT_gmail.com> wrote:
> What is the most concise way of outputting a usage and help text?

For my programs, the --help option simply displays their manpage. :-)

man(1) is better suited for information display (text-wrapping to 80
characters or $COLUMNS, pagination, and emphasis with bold, reverse
video, underline, etc.) than anything I could care to reinvent poorly
in each of my programs.
Received on Wed Aug 18 2010 - 04:54:44 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 18 2010 - 05:00:04 CEST