From cb2aeb4e1157fc0d7dc25d94115973422dc1a800 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 7 May 2014 18:18:27 +0200 Subject: Make more use of *_NAME macros. * configure.ac (GPG_DISP_NAME, GPGSM_DISP_NAME): New. (GPG_AGENT_DISP_NAME, SCDAEMON_DISP_NAME): New. (DIRMNGR_DISP_NAME, G13_DISP_NAME): New. (GPGCONF_DISP_NAME): New. (SCDAEMON_SOCK_NAME): New. * common/argparse.c (show_help): Map description string. --- common/argparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/argparse.c') diff --git a/common/argparse.c b/common/argparse.c index 6d18bd4bc..f4180cfd9 100644 --- a/common/argparse.c +++ b/common/argparse.c @@ -1126,7 +1126,7 @@ show_help (ARGPARSE_OPTS *opts, unsigned int flags) writestrings (0, "Options:", "\n", NULL); for (i=0; opts[i].short_opt; i++ ) { - s = _( opts[i].description ); + s = map_static_macro_string (_( opts[i].description )); if ( s && *s== '@' && !s[1] ) /* Hide this line. */ continue; if ( s && *s == '@' ) /* Unindented comment only line. */ -- cgit v1.2.3