This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: --help and --version fixes
- From: Ulrich Drepper <drepper at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 04 Feb 2009 16:34:12 -0800
- Subject: Re: --help and --version fixes
- References: <Pine.LNX.4.64.0901021938220.4220@digraph.polyomino.org.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Joseph S. Myers wrote:
> This patch fixes various problems with --help and --version output
> (compared to the GNU Coding Standards requirements) in tools
> distributed with and installed by glibc.
It is not
if (!strcmp(...))
but instead
if (strcmp(...) == 0)
The bug report info for argp users is printed for the
ARGP_KEY_HELP_EXTRA key in the help function. There are plenty examples
for this already. Not doing it this way increases unnecessarily the
amount of strings which have to be translated.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmKNAQACgkQ2ijCOnn/RHRGmACbBd+07/m9jCVbR8D7Wj2lcQW8
FFwAoJuCouKBZnXurIRpX26/tyzpptZV
=ldBo
-----END PGP SIGNATURE-----