Re: How to accept extra command line args?
- From: "Michael K. Johnson" <johnsonm redhat com>
- To: gnome-devel-list gnome org
- Subject: Re: How to accept extra command line args?
- Date: Tue, 23 Feb 1999 19:13:57 -0500
On Wed, 24 Feb 1999, Lyndon Drake wrote:
>I would like to integrate my parameters into the Gnome ones, so that
>they appear in the --help output, and get parsed automagically. From
>other programs, it appears that popt is used for this. Is there any
>documentation on this, or a good example program?
There is documentation on it. Addison-Wesley let us put a copy of the
chapter on popt from Linux Application Development into the popt
distribution, and the man page included in the popt distribution is
built from it, but is more up-to-date, including information on how to
set up the --help output.
I *think* that the latest official release is at
but I think that I did some of the work on the manual page after that
is the latest release of which I am aware; I don't know if there is
a tarball release that corresponds to it (I don't do the popt releases...)
I hope that helps!
"Magazines all too frequently lead to books and should be regarded by the
prudent as the heavy petting of literature." -- Fran Lebowitz
Linux Application Development http://www.redhat.com/~johnsonm/lad/
] [Thread Prev