--help and --version fixes

Ulrich Drepper drepper@redhat.com
Thu Feb 5 00:40:00 GMT 2009


-----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-----



More information about the Libc-alpha mailing list