diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/gpg-agent.c | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index b126174b7..3c1bfa758 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -189,14 +189,18 @@ static ARGPARSE_OPTS opts[] = { /* FIXME: Add the below string for 2.3 */ /* N_("let PIN-Entry grab keyboard and mouse")), */ ARGPARSE_s_n (oNoGrab, "no-grab", "@"), - ARGPARSE_s_s (oLogFile, "log-file", N_("use a log file for the server")), + ARGPARSE_s_s (oLogFile, "log-file", + /* */ N_("|FILE|write server mode logs to FILE")), + ARGPARSE_s_s (oPinentryProgram, "pinentry-program", /* */ N_("|PGM|use PGM as the PIN-Entry program")), ARGPARSE_s_s (oPinentryTouchFile, "pinentry-touch-file", "@"), ARGPARSE_s_s (oPinentryInvisibleChar, "pinentry-invisible-char", "@"), - ARGPARSE_s_u (oPinentryTimeout, "pinentry-timeout", "@"), + ARGPARSE_s_u (oPinentryTimeout, "pinentry-timeout", + N_("|N|set the Pinentry timeout to N seconds")), ARGPARSE_s_n (oPinentryFormattedPassphrase, "pinentry-formatted-passphrase", "@"), + ARGPARSE_s_s (oScdaemonProgram, "scdaemon-program", /* */ N_("|PGM|use PGM as the SCdaemon program") ), ARGPARSE_s_n (oDisableScdaemon, "disable-scdaemon", @@ -226,19 +230,27 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_s_u (oDefCacheTTL, "default-cache-ttl", N_("|N|expire cached PINs after N seconds")), - ARGPARSE_s_u (oDefCacheTTLSSH, "default-cache-ttl-ssh", "@" ), - ARGPARSE_s_u (oMaxCacheTTL, "max-cache-ttl", "@" ), - ARGPARSE_s_u (oMaxCacheTTLSSH, "max-cache-ttl-ssh", "@" ), - + ARGPARSE_s_u (oDefCacheTTLSSH, "default-cache-ttl-ssh", + /* */ N_("|N|expire SSH keys after N seconds")), + ARGPARSE_s_u (oMaxCacheTTL, "max-cache-ttl", + /* */ N_("|N|set maximum PIN cache lifetime to N seconds")), + ARGPARSE_s_u (oMaxCacheTTLSSH, "max-cache-ttl-ssh", + /* */ N_("|N|set maximum SSH key lifetime to N seconds")), ARGPARSE_s_n (oEnforcePassphraseConstraints, "enforce-passphrase-constraints", - /* */ "@"), - ARGPARSE_s_u (oMinPassphraseLen, "min-passphrase-len", "@"), - ARGPARSE_s_u (oMinPassphraseNonalpha, "min-passphrase-nonalpha", "@"), - ARGPARSE_s_s (oCheckPassphrasePattern, "check-passphrase-pattern", "@"), + /* */ N_("do not allow bypassing the passphrase policy")), + ARGPARSE_s_u (oMinPassphraseLen, "min-passphrase-len", + N_("|N|set minimal required length for new passphrases to N")), + ARGPARSE_s_u (oMinPassphraseNonalpha, "min-passphrase-nonalpha", + N_("|N|require at least N non-alpha" + " characters for a new passphrase")), + ARGPARSE_s_s (oCheckPassphrasePattern, "check-passphrase-pattern", + N_("|FILE|check new passphrases against pattern in FILE")), ARGPARSE_s_s (oCheckSymPassphrasePattern, "check-sym-passphrase-pattern", "@"), - ARGPARSE_s_u (oMaxPassphraseDays, "max-passphrase-days", "@"), - ARGPARSE_s_n (oEnablePassphraseHistory, "enable-passphrase-history", "@"), + ARGPARSE_s_u (oMaxPassphraseDays, "max-passphrase-days", + N_("|N|expire the passphrase after N days")), + ARGPARSE_s_n (oEnablePassphraseHistory, "enable-passphrase-history", + N_("do not allow the reuse of old passphrases")), ARGPARSE_s_n (oIgnoreCacheForSigning, "ignore-cache-for-signing", /* */ N_("do not use the PIN cache when signing")), |