From 50ff29af54a40583ba5ddabfa11ad491809f5a70 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Mon, 6 Mar 2017 17:08:32 -0500 Subject: [PATCH] Applied fix to `eqconfig` as well, which solves the man page generation issue. --- console/tidy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/console/tidy.c b/console/tidy.c index 79109c1..b01320f 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -323,6 +323,8 @@ static void localize_option_names( CmdOptDesc *pos) pos->name2 = stringWithFormat(pos->name2, fileString); if ( pos->name3 ) pos->name3 = stringWithFormat(pos->name3, fileString); + if ( pos->eqconfig ) + pos->eqconfig = stringWithFormat(pos->eqconfig, fileString); } /** @@ -470,7 +472,7 @@ static void print_xml_help_option( void ) print_xml_help_option_element("name", localPos.name3); print_xml_help_option_element("description", tidyLocalizedString( pos->key ) ); if (pos->eqconfig) - print_xml_help_option_element("eqconfig", pos->eqconfig); + print_xml_help_option_element("eqconfig", localPos.eqconfig); else printf(" \n"); printf(" \n");