mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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.
This commit is contained in:
parent
798daaa1dd
commit
cc9a0b69b6
48 changed files with 355 additions and 320 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue