On Wed, 14 Oct 2015, Martin Sebor wrote:

> +             /* For undocumented options that are aliases for other
> +                options that are documented, print the other option's
> +                help and name.  */
> +             help = cl_options [option->alias_target].help;
> +
> +             snprintf (new_help, sizeof new_help, "%s", help);
> +             snprintf (new_help + strlen (new_help),
> +                       sizeof new_help - strlen (new_help),
> +                       ".  Same as %s",
> +                       cl_options [option->alias_target].opt_text);

Obviously this English string needs to be marked for translation.

There is no consistency about whether option descriptions in .opt files 
end with ".", so this might produce "..  Same as" in some cases.  While I 
think the .opt files should be made consistent, I also think it would be 
better just to give the "Same as" message without also repeating the 
description of the canonical option.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to