Re: [Question][CMDLINE_PARSER_PACKAGE]

Salvatore Santagati <[email protected]> Thu, 23 Apr 2009 19:00:49 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
Ciao Lorenzo

> well, that PACKAGE variable is used from within the command line parser to
> print errors, and thus it should be set to the actual command, and not to
> the package name.  However, I think you're right about PACKAGE_NAME being
> useful, for instance when printing the output of --help and --version, am I
> right?

Yes, you are right.

> Then probably PACKAGE_NAME should be used to and probably default to PACKAGE
> if not specified, am I right?

Yes,
http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html


Cheers
Salvatore

PS : sorry for double post