[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Handle options independent of their order.

From: Debarshi 'Rishi' Ray
Subject: Re: [PATCH] Handle options independent of their order.
Date: Thu, 19 Apr 2007 01:50:52 +0530

3) a short usage message, which is printed when an invalid option
is given (instead of printing the entire help message, which is too
much information).

Using argp.h instead of getopt.h automatically provides a --help
listing from the defined command line options; a short usage
information; a small pointer to use --help whenever a wrong parameter
is encountered; --version information; etc..

Happy hacking,
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]