mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
fb24808db9
commit
cb2aeb4e11
10 changed files with 103 additions and 59 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue