[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: [Bug-tar] argp and gettext
From: |
Sergey Poznyakoff |
Subject: |
[Bug-gnulib] Re: [Bug-tar] argp and gettext |
Date: |
Mon, 13 Sep 2004 15:04:40 +0300 |
Bruno Haible <address@hidden> wrote:
> Under normal circumstances, programs shouldn't call gettext("").
> Why does tar call it?
It is my mistake. OPTION_DOC options are handled in a different manner:
their `name' field is not supposed to be an option name, it serves
as a sort of `label'.
> This is confusing:
> - Why is argp-help.c translating the opt->name? If, say, an option's
> name is "format" and its German translation is "Formatierung", it
> would not make sense to print " --Formatierung " since this is
> not the option that the program accepts.
That's not a bug in argp, that's improper usage of OPTION_DOC by
tar. I'll fix this.
Regards,
Sergey