| 1 |
#include "gpg.option.oxidize" |
| 2 |
|
| 3 |
ARGPARSE_c (aGPGConfList, "gpgconf-list", "@"), |
| 4 |
ARGPARSE_c (aGPGConfTest, "gpgconf-test", "@"), |
| 5 |
ARGPARSE_c (aGPGConfVersions, "gpgconf-versions", "@"), |
| 6 |
|
| 7 |
ARGPARSE_group (300, N_("@Commands:\n ")), |
| 8 |
|
| 9 |
ARGPARSE_c (aServer, "server", N_("run in server mode (foreground)") ), |
| 10 |
ARGPARSE_c (aDaemon, "daemon", N_("run in daemon mode (background)") ), |
| 11 |
#ifndef HAVE_W32_SYSTEM |
| 12 |
ARGPARSE_c (aSupervised, "supervised", N_("run in supervised mode")), |
| 13 |
#endif |
| 14 |
ARGPARSE_c (aListCRLs, "list-crls", N_("list the contents of the CRL cache")), |
| 15 |
ARGPARSE_c (aLoadCRL, "load-crl", N_("|FILE|load CRL from FILE into cache")), |
| 16 |
ARGPARSE_c (aFetchCRL, "fetch-crl", N_("|URL|fetch a CRL from URL")), |
| 17 |
ARGPARSE_c (aShutdown, "shutdown", N_("shutdown the dirmngr")), |
| 18 |
ARGPARSE_c (aFlush, "flush", N_("flush the cache")), |
| 19 |
|
| 20 |
|
| 21 |
ARGPARSE_header (NULL, N_("Options used for startup")), |
| 22 |
|
| 23 |
ARGPARSE_s_n (oNoDetach, "no-detach", N_("do not detach from the console")), |
| 24 |
ARGPARSE_s_n (oSh, "sh", N_("sh-style command output")), |
| 25 |
ARGPARSE_s_n (oCsh, "csh", N_("csh-style command output")), |
| 26 |
ARGPARSE_s_n (oStealSocket, "steal-socket", "@"), |
| 27 |
ARGPARSE_s_s (oHomedir, "homedir", "@"), |
| 28 |
ARGPARSE_conffile (oOptions, "options", N_("|FILE|read options from FILE")), |
| 29 |
ARGPARSE_noconffile (oNoOptions, "no-options", "@"), |
| 30 |
|
| 31 |
|
| 32 |
ARGPARSE_header ("Monitor", N_("Options controlling the diagnostic output")), |
| 33 |
|
| 34 |
ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")), |
| 35 |
ARGPARSE_s_n (oQuiet, "quiet", N_("be somewhat more quiet")), |
| 36 |
ARGPARSE_s_n (oNoGreeting, "no-greeting", "@"), |
| 37 |
ARGPARSE_s_s (oDebugLevel, "debug-level", |
| 38 |
N_("|LEVEL|set the debugging level to LEVEL")), |
| 39 |
ARGPARSE_s_s (oDebug, "debug", "@"), |
| 40 |
ARGPARSE_s_n (oDebugAll, "debug-all", "@"), |
| 41 |
ARGPARSE_s_i (oGnutlsDebug, "gnutls-debug", "@"), |
| 42 |
ARGPARSE_s_i (oGnutlsDebug, "tls-debug", "@"), |
| 43 |
ARGPARSE_s_i (oDebugWait, "debug-wait", "@"), |
| 44 |
ARGPARSE_s_s (oLogFile, "log-file", |
| 45 |
N_("|FILE|write server mode logs to FILE")), |
| 46 |
|
| 47 |
|
| 48 |
ARGPARSE_header ("Configuration", |
| 49 |
N_("Options controlling the configuration")), |
| 50 |
|
| 51 |
ARGPARSE_s_n (oAllowVersionCheck, "allow-version-check", |
| 52 |
N_("allow online software version check")), |
| 53 |
ARGPARSE_s_i (oListenBacklog, "listen-backlog", "@"), |
| 54 |
ARGPARSE_s_i (oMaxReplies, "max-replies", |
| 55 |
N_("|N|do not return more than N items in one query")), |
| 56 |
ARGPARSE_s_u (oFakedSystemTime, "faked-system-time", "@"), /*(epoch time)*/ |
| 57 |
ARGPARSE_s_n (oDisableCheckOwnSocket, "disable-check-own-socket", "@"), |
| 58 |
ARGPARSE_s_s (oIgnoreCert,"ignore-cert", "@"), |
| 59 |
ARGPARSE_s_s (oIgnoreCertExtension,"ignore-cert-extension", "@"), |
| 60 |
|
| 61 |
|
| 62 |
ARGPARSE_header ("Network", N_("Network related options")), |
| 63 |
|
| 64 |
ARGPARSE_s_n (oUseTor, "use-tor", N_("route all network traffic via Tor")), |
| 65 |
ARGPARSE_s_n (oNoUseTor, "no-use-tor", "@"), |
| 66 |
ARGPARSE_s_n (oDisableIPv4, "disable-ipv4", "@"), |
| 67 |
ARGPARSE_s_n (oDisableIPv6, "disable-ipv6", "@"), |
| 68 |
ARGPARSE_s_n (oStandardResolver, "standard-resolver", "@"), |
| 69 |
ARGPARSE_s_n (oRecursiveResolver, "recursive-resolver", "@"), |
| 70 |
ARGPARSE_s_i (oResolverTimeout, "resolver-timeout", "@"), |
| 71 |
ARGPARSE_s_s (oNameServer, "nameserver", "@"), |
| 72 |
ARGPARSE_s_i (oConnectTimeout, "connect-timeout", "@"), |
| 73 |
ARGPARSE_s_i (oConnectQuickTimeout, "connect-quick-timeout", "@"), |
| 74 |
|
| 75 |
|
| 76 |
ARGPARSE_header ("Keyserver", N_("Configuration for Keyservers")), |
| 77 |
|
| 78 |
ARGPARSE_s_s (oKeyServer, "keyserver", |
| 79 |
N_("|URL|use keyserver at URL")), |
| 80 |
ARGPARSE_s_s (oHkpCaCert, "hkp-cacert", |
| 81 |
N_("|FILE|use the CA certificates in FILE for HKP over TLS")), |
| 82 |
|
| 83 |
|
| 84 |
ARGPARSE_header ("HTTP", N_("Configuration for HTTP servers")), |
| 85 |
|
| 86 |
ARGPARSE_s_n (oDisableHTTP, "disable-http", N_("inhibit the use of HTTP")), |
| 87 |
ARGPARSE_s_n (oIgnoreHTTPDP,"ignore-http-dp", |
| 88 |
N_("ignore HTTP CRL distribution points")), |
| 89 |
ARGPARSE_s_s (oHTTPProxy, "http-proxy", |
| 90 |
N_("|URL|redirect all HTTP requests to URL")), |
| 91 |
ARGPARSE_s_n (oHonorHTTPProxy, "honor-http-proxy", |
| 92 |
N_("use system's HTTP proxy setting")), |
| 93 |
ARGPARSE_s_s (oLDAPWrapperProgram, "ldap-wrapper-program", "@"), |
| 94 |
|
| 95 |
|
| 96 |
ARGPARSE_header ("LDAP", N_("Configuration of LDAP servers to use")), |
| 97 |
|
| 98 |
ARGPARSE_s_n (oDisableLDAP, "disable-ldap", N_("inhibit the use of LDAP")), |
| 99 |
ARGPARSE_s_n (oIgnoreLDAPDP,"ignore-ldap-dp", |
| 100 |
N_("ignore LDAP CRL distribution points")), |
| 101 |
ARGPARSE_s_s (oLDAPProxy, "ldap-proxy", |
| 102 |
N_("|HOST|use HOST for LDAP queries")), |
| 103 |
ARGPARSE_s_n (oOnlyLDAPProxy, "only-ldap-proxy", |
| 104 |
N_("do not use fallback hosts with --ldap-proxy")), |
| 105 |
ARGPARSE_s_s (oLDAPServer, "ldapserver", |
| 106 |
N_("|SPEC|use this keyserver to lookup keys")), |
| 107 |
ARGPARSE_s_s (oLDAPFile, "ldapserverlist-file", |
| 108 |
N_("|FILE|read LDAP server list from FILE")), |
| 109 |
ARGPARSE_s_n (oLDAPAddServers, "add-servers", |
| 110 |
N_("add new servers discovered in CRL distribution" |
| 111 |
" points to serverlist")), |
| 112 |
ARGPARSE_s_i (oLDAPTimeout, "ldaptimeout", |
| 113 |
N_("|N|set LDAP timeout to N seconds")), |
| 114 |
|
| 115 |
|
| 116 |
ARGPARSE_header ("OCSP", N_("Configuration for OCSP")), |
| 117 |
|
| 118 |
ARGPARSE_s_n (oAllowOCSP, "allow-ocsp", N_("allow sending OCSP requests")), |
| 119 |
ARGPARSE_s_n (oIgnoreOCSPSvcUrl, "ignore-ocsp-service-url", |
| 120 |
N_("ignore certificate contained OCSP service URLs")), |
| 121 |
ARGPARSE_s_s (oOCSPResponder, "ocsp-responder", |
| 122 |
N_("|URL|use OCSP responder at URL")), |
| 123 |
ARGPARSE_s_s (oOCSPSigner, "ocsp-signer", |
| 124 |
N_("|FPR|OCSP response signed by FPR")), |
| 125 |
ARGPARSE_s_i (oOCSPMaxClockSkew, "ocsp-max-clock-skew", "@"), |
| 126 |
ARGPARSE_s_i (oOCSPMaxPeriod, "ocsp-max-period", "@"), |
| 127 |
ARGPARSE_s_i (oOCSPCurrentPeriod, "ocsp-current-period", "@"), |
| 128 |
|
| 129 |
|
| 130 |
ARGPARSE_header (NULL, N_("Other options")), |
| 131 |
|
| 132 |
ARGPARSE_s_n (oForce, "force", N_("force loading of outdated CRLs")), |
| 133 |
|
| 134 |
ARGPARSE_s_s (oSocketName, "socket-name", "@"), /* Only for debugging. */ |
| 135 |
ARGPARSE_s_n (oDebugCacheExpiredCerts, "debug-cache-expired-certs", "@"), |
| 136 |
|
| 137 |
ARGPARSE_header (NULL, ""), /* Stop the header group. */ |
| 138 |
|
| 139 |
/* Not yet used options. */ |
| 140 |
ARGPARSE_s_n (oBatch, "batch", "@"), |
| 141 |
ARGPARSE_s_s (oHTTPWrapperProgram, "http-wrapper-program", "@"), |
| 142 |
|
| 143 |
|
| 144 |
ARGPARSE_group (302,N_("@\n(See the \"info\" manual for a complete listing " |
| 145 |
"of all commands and options)\n")), |
| 146 |
|
| 147 |
ARGPARSE_end () |