aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-connect-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-11-18 13:09:47 +0000
committerWerner Koch <[email protected]>2013-11-18 13:09:47 +0000
commitcc9a0b69b698ba436eaf777e5020532845b56236 (patch)
treecb2274c3d97fffa7020cb1e5a56373935ee094b2 /tools/gpg-connect-agent.c
parentAdd strusage macro replacement feature. (diff)
downloadgnupg-cc9a0b69b698ba436eaf777e5020532845b56236.tar.gz
gnupg-cc9a0b69b698ba436eaf777e5020532845b56236.zip
Make use of the *_NAME etc macros.
Replace hardwired strings at many places with new macros from config.h and use the new strusage macro replacement feature. * common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn sentinels. * agent/command.c (cmd_import_key): Use asprintf to create the prompt.
Diffstat (limited to 'tools/gpg-connect-agent.c')
-rw-r--r--tools/gpg-connect-agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index c22e12970..6288a9783 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -182,17 +182,17 @@ my_strusage( int level )
switch (level)
{
- case 11: p = "gpg-connect-agent (GnuPG)";
+ case 11: p = "@GPG@-connect-agent (@GNUPG@)";
break;
case 13: p = VERSION; break;
case 17: p = PRINTABLE_OS_NAME; break;
case 19: p = _("Please report bugs to <@EMAIL@>.\n"); break;
case 1:
- case 40: p = _("Usage: gpg-connect-agent [options] (-h for help)");
+ case 40: p = _("Usage: @GPG@-connect-agent [options] (-h for help)");
break;
case 41:
- p = _("Syntax: gpg-connect-agent [options]\n"
+ p = _("Syntax: @GPG@-connect-agent [options]\n"
"Connect to a running agent and send commands\n");
break;
case 31: p = "\nHome: "; break;