Re: gengetopt open issues

Andre Noll <[email protected]> Wed, 14 Sep 2011 14:58:00 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
--===============5323029349514962704==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw"
Content-Disposition: inline


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Lorenzo,

First of all, it's great news to hear that you found the time to work
on gengetopt development again.

On Wed, Sep 14, 10:27, Lorenzo Bettini wrote:
> Thus, I think we should use the tool at savannah to keep track of
> issues;

I don't think this is a good idea. If something was lost in your inbox,
people will eventually send it again, at least if it is important
enough to them ;)

OTOH, bug trackers and ticket systems, like Wikis, tend to be "write
only", i.e. nobody ever reads what other people wrote there before
posting a bug report or feature request. Moreover there are people,
including myself, who hate mousing around and learning how to use yet
another "user-friendly" web-based system including its word-like web
editor. Having to register before you can post is another barrier.

That being said, here's what I am missing most in gengetopt:

* A new ggo option that works just like "text" but adds the text only
  to the output of --detailed-help and not to the short --help output.

* Support for environment variables for the defaults of string options.
  For example, the default location of a file might be inside the
  user's home directory. So it would be nice if one could specify
  the default value for a string option as "$HOME/.foorc" in the ggo
  file. Of course $HOME has to be evaluated when the program runs
  (rather than when gengetopt is executed).

* Ranges. At least for int type options it would be nice to be able
  to specify that the value of the given option must be in some
  interval. In particular, gengetopt could generate code that checks
  whether the given integer is positive.

* Including ggo files from other ggo files. This is the least important
  point, as one can easily do this manually, e.g. with m4.

Regards
Andre
--=20
The only person who always got his work done by Friday was Robinson Crusoe

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk5wpNgACgkQWto1QDEAkw/vbQCeM0nPdnxjgnWONL0QISGsKwpB
5/sAnR1dy8GrfA55Xap5VIenhUH9k1Ee
=b9OG
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--


--===============5323029349514962704==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Help-gengetopt mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gengetopt

--===============5323029349514962704==--