| 1 |
#include "gpg.option.oxidize" |
| 2 |
|
| 3 |
ARGPARSE_group (300, N_("@Commands:\n ")), |
| 4 |
|
| 5 |
ARGPARSE_c (aSign, "sign", N_("make a signature")), |
| 6 |
ARGPARSE_c (aClearsign, "clear-sign", N_("make a clear text signature")), |
| 7 |
ARGPARSE_c (aClearsign, "clearsign", "@"), |
| 8 |
ARGPARSE_c (aDetachedSign, "detach-sign", N_("make a detached signature")), |
| 9 |
ARGPARSE_c (aEncr, "encrypt", N_("encrypt data")), |
| 10 |
ARGPARSE_c (aEncrFiles, "encrypt-files", "@"), |
| 11 |
ARGPARSE_c (aSym, "symmetric", N_("encryption only with symmetric cipher")), |
| 12 |
ARGPARSE_c (aStore, "store", "@"), |
| 13 |
ARGPARSE_c (aDecrypt, "decrypt", N_("decrypt data (default)")), |
| 14 |
ARGPARSE_c (aDecryptFiles, "decrypt-files", "@"), |
| 15 |
ARGPARSE_c (aVerify, "verify" , N_("verify a signature")), |
| 16 |
ARGPARSE_c (aVerifyFiles, "verify-files" , "@" ), |
| 17 |
ARGPARSE_c (aListKeys, "list-keys", N_("list keys")), |
| 18 |
ARGPARSE_c (aListKeys, "list-public-keys", "@" ), |
| 19 |
ARGPARSE_c (aListSigs, "list-signatures", N_("list keys and signatures")), |
| 20 |
ARGPARSE_c (aListSigs, "list-sigs", "@"), |
| 21 |
ARGPARSE_c (aCheckKeys, "check-signatures", |
| 22 |
N_("list and check key signatures")), |
| 23 |
ARGPARSE_c (aCheckKeys, "check-sigs", "@"), |
| 24 |
ARGPARSE_c (oFingerprint, "fingerprint", N_("list keys and fingerprints")), |
| 25 |
ARGPARSE_c (aListSecretKeys, "list-secret-keys", N_("list secret keys")), |
| 26 |
ARGPARSE_c (aKeygen, "generate-key", |
| 27 |
N_("generate a new key pair")), |
| 28 |
ARGPARSE_c (aKeygen, "gen-key", "@"), |
| 29 |
ARGPARSE_c (aQuickKeygen, "quick-generate-key" , |
| 30 |
N_("quickly generate a new key pair")), |
| 31 |
ARGPARSE_c (aQuickKeygen, "quick-gen-key", "@"), |
| 32 |
ARGPARSE_c (aQuickAddUid, "quick-add-uid", |
| 33 |
N_("quickly add a new user-id")), |
| 34 |
ARGPARSE_c (aQuickAddUid, "quick-adduid", "@"), |
| 35 |
ARGPARSE_c (aQuickAddKey, "quick-add-key", "@"), |
| 36 |
ARGPARSE_c (aQuickAddKey, "quick-addkey", "@"), |
| 37 |
ARGPARSE_c (aQuickRevUid, "quick-revoke-uid", |
| 38 |
N_("quickly revoke a user-id")), |
| 39 |
ARGPARSE_c (aQuickRevUid, "quick-revuid", "@"), |
| 40 |
ARGPARSE_c (aQuickSetExpire, "quick-set-expire", |
| 41 |
N_("quickly set a new expiration date")), |
| 42 |
ARGPARSE_c (aQuickSetPrimaryUid, "quick-set-primary-uid", "@"), |
| 43 |
ARGPARSE_c (aFullKeygen, "full-generate-key" , |
| 44 |
N_("full featured key pair generation")), |
| 45 |
ARGPARSE_c (aFullKeygen, "full-gen-key", "@"), |
| 46 |
ARGPARSE_c (aGenRevoke, "generate-revocation", |
| 47 |
N_("generate a revocation certificate")), |
| 48 |
ARGPARSE_c (aGenRevoke, "gen-revoke", "@"), |
| 49 |
ARGPARSE_c (aDeleteKeys,"delete-keys", |
| 50 |
N_("remove keys from the public keyring")), |
| 51 |
ARGPARSE_c (aDeleteSecretKeys, "delete-secret-keys", |
| 52 |
N_("remove keys from the secret keyring")), |
| 53 |
ARGPARSE_c (aQuickSignKey, "quick-sign-key" , |
| 54 |
N_("quickly sign a key")), |
| 55 |
ARGPARSE_c (aQuickLSignKey, "quick-lsign-key", |
| 56 |
N_("quickly sign a key locally")), |
| 57 |
ARGPARSE_c (aQuickRevSig, "quick-revoke-sig" , |
| 58 |
N_("quickly revoke a key signature")), |
| 59 |
ARGPARSE_c (aSignKey, "sign-key" ,N_("sign a key")), |
| 60 |
ARGPARSE_c (aLSignKey, "lsign-key" ,N_("sign a key locally")), |
| 61 |
ARGPARSE_c (aEditKey, "edit-key" ,N_("sign or edit a key")), |
| 62 |
ARGPARSE_c (aEditKey, "key-edit" ,"@"), |
| 63 |
ARGPARSE_c (aPasswd, "change-passphrase", N_("change a passphrase")), |
| 64 |
ARGPARSE_c (aPasswd, "passwd", "@"), |
| 65 |
ARGPARSE_c (aDesigRevoke, "generate-designated-revocation", "@"), |
| 66 |
ARGPARSE_c (aDesigRevoke, "desig-revoke","@" ), |
| 67 |
ARGPARSE_c (aExport, "export" , N_("export keys") ), |
| 68 |
ARGPARSE_c (aSendKeys, "send-keys" , N_("export keys to a keyserver") ), |
| 69 |
ARGPARSE_c (aRecvKeys, "receive-keys" , N_("import keys from a keyserver") ), |
| 70 |
ARGPARSE_c (aRecvKeys, "recv-keys" , "@"), |
| 71 |
ARGPARSE_c (aSearchKeys, "search-keys" , |
| 72 |
N_("search for keys on a keyserver") ), |
| 73 |
ARGPARSE_c (aRefreshKeys, "refresh-keys", |
| 74 |
N_("update all keys from a keyserver")), |
| 75 |
ARGPARSE_c (aLocateKeys, "locate-keys", "@"), |
| 76 |
ARGPARSE_c (aLocateExtKeys, "locate-external-keys", "@"), |
| 77 |
ARGPARSE_c (aFetchKeys, "fetch-keys" , "@" ), |
| 78 |
ARGPARSE_c (aShowKeys, "show-keys" , "@" ), |
| 79 |
ARGPARSE_c (aExportSecret, "export-secret-keys" , "@" ), |
| 80 |
ARGPARSE_c (aExportSecretSub, "export-secret-subkeys" , "@" ), |
| 81 |
ARGPARSE_c (aExportSshKey, "export-ssh-key", "@" ), |
| 82 |
ARGPARSE_c (aImport, "import", N_("import/merge keys")), |
| 83 |
ARGPARSE_c (aFastImport, "fast-import", "@"), |
| 84 |
#ifdef ENABLE_CARD_SUPPORT |
| 85 |
ARGPARSE_c (aCardStatus, "card-status", N_("print the card status")), |
| 86 |
ARGPARSE_c (aCardEdit, "edit-card", N_("change data on a card")), |
| 87 |
ARGPARSE_c (aCardEdit, "card-edit", "@"), |
| 88 |
ARGPARSE_c (aChangePIN, "change-pin", N_("change a card's PIN")), |
| 89 |
#endif |
| 90 |
ARGPARSE_c (aListConfig, "list-config", "@"), |
| 91 |
ARGPARSE_c (aListGcryptConfig, "list-gcrypt-config", "@"), |
| 92 |
ARGPARSE_c (aGPGConfList, "gpgconf-list", "@" ), |
| 93 |
ARGPARSE_c (aGPGConfTest, "gpgconf-test", "@" ), |
| 94 |
ARGPARSE_c (aListPackets, "list-packets","@"), |
| 95 |
|
| 96 |
#ifndef NO_TRUST_MODELS |
| 97 |
ARGPARSE_c (aExportOwnerTrust, "export-ownertrust", "@"), |
| 98 |
ARGPARSE_c (aImportOwnerTrust, "import-ownertrust", "@"), |
| 99 |
ARGPARSE_c (aUpdateTrustDB,"update-trustdb", |
| 100 |
N_("update the trust database")), |
| 101 |
ARGPARSE_c (aCheckTrustDB, "check-trustdb", "@"), |
| 102 |
ARGPARSE_c (aFixTrustDB, "fix-trustdb", "@"), |
| 103 |
ARGPARSE_c (aListTrustDB, "list-trustdb", "@"), |
| 104 |
#endif |
| 105 |
|
| 106 |
ARGPARSE_c (aDeArmor, "dearmor", "@"), |
| 107 |
ARGPARSE_c (aDeArmor, "dearmour", "@"), |
| 108 |
ARGPARSE_c (aEnArmor, "enarmor", "@"), |
| 109 |
ARGPARSE_c (aEnArmor, "enarmour", "@"), |
| 110 |
ARGPARSE_c (aPrintMD, "print-md", N_("print message digests")), |
| 111 |
ARGPARSE_c (aPrintMDs, "print-mds", "@"), /* old */ |
| 112 |
ARGPARSE_c (aPrimegen, "gen-prime", "@" ), |
| 113 |
ARGPARSE_c (aGenRandom,"gen-random", "@" ), |
| 114 |
ARGPARSE_c (aServer, "server", N_("run in server mode")), |
| 115 |
ARGPARSE_c (aTOFUPolicy, "tofu-policy", |
| 116 |
N_("|VALUE|set the TOFU policy for a key")), |
| 117 |
/* Not yet used: |
| 118 |
ARGPARSE_c (aListTrustPath, "list-trust-path", "@"), */ |
| 119 |
ARGPARSE_c (aDeleteSecretAndPublicKeys, |
| 120 |
"delete-secret-and-public-keys", "@"), |
| 121 |
ARGPARSE_c (aRebuildKeydbCaches, "rebuild-keydb-caches", "@"), |
| 122 |
ARGPARSE_c (aListKeys, "list-key", "@"), /* alias */ |
| 123 |
ARGPARSE_c (aListSigs, "list-sig", "@"), /* alias */ |
| 124 |
ARGPARSE_c (aCheckKeys, "check-sig", "@"), /* alias */ |
| 125 |
ARGPARSE_c (aShowKeys, "show-key", "@"), /* alias */ |
| 126 |
|
| 127 |
|
| 128 |
ARGPARSE_header ("Monitor", N_("Options controlling the diagnostic output")), |
| 129 |
|
| 130 |
ARGPARSE_s_n (oVerbose, "verbose", N_("verbose")), |
| 131 |
ARGPARSE_s_n (oNoVerbose, "no-verbose", "@"), |
| 132 |
ARGPARSE_s_n (oQuiet, "quiet", N_("be somewhat more quiet")), |
| 133 |
ARGPARSE_s_n (oNoTTY, "no-tty", "@"), |
| 134 |
ARGPARSE_s_n (oNoGreeting, "no-greeting", "@"), |
| 135 |
ARGPARSE_s_s (oDebug, "debug", "@"), |
| 136 |
ARGPARSE_s_s (oDebugLevel, "debug-level", "@"), |
| 137 |
ARGPARSE_s_n (oDebugAll, "debug-all", "@"), |
| 138 |
ARGPARSE_s_n (oDebugIOLBF, "debug-iolbf", "@"), |
| 139 |
ARGPARSE_s_s (oDisplayCharset, "display-charset", "@"), |
| 140 |
ARGPARSE_s_s (oDisplayCharset, "charset", "@"), |
| 141 |
ARGPARSE_conffile (oOptions, "options", N_("|FILE|read options from FILE")), |
| 142 |
ARGPARSE_noconffile (oNoOptions, "no-options", "@"), |
| 143 |
ARGPARSE_s_i (oLoggerFD, "logger-fd", "@"), |
| 144 |
ARGPARSE_s_s (oLoggerFile, "log-file", |
| 145 |
N_("|FILE|write server mode logs to FILE")), |
| 146 |
ARGPARSE_s_s (oLoggerFile, "logger-file", "@"), /* 1.4 compatibility. */ |
| 147 |
ARGPARSE_s_n (oQuickRandom, "debug-quick-random", "@"), |
| 148 |
|
| 149 |
|
| 150 |
ARGPARSE_header ("Configuration", |
| 151 |
N_("Options controlling the configuration")), |
| 152 |
|
| 153 |
ARGPARSE_s_s (oHomedir, "homedir", "@"), |
| 154 |
ARGPARSE_s_s (oFakedSystemTime, "faked-system-time", "@"), |
| 155 |
ARGPARSE_s_s (oDefaultKey, "default-key", |
| 156 |
N_("|NAME|use NAME as default secret key")), |
| 157 |
ARGPARSE_s_s (oEncryptTo, "encrypt-to", |
| 158 |
N_("|NAME|encrypt to user ID NAME as well")), |
| 159 |
ARGPARSE_s_n (oNoEncryptTo, "no-encrypt-to", "@"), |
| 160 |
ARGPARSE_s_s (oHiddenEncryptTo, "hidden-encrypt-to", "@"), |
| 161 |
ARGPARSE_s_n (oEncryptToDefaultKey, "encrypt-to-default-key", "@"), |
| 162 |
ARGPARSE_s_s (oDefRecipient, "default-recipient", "@"), |
| 163 |
ARGPARSE_s_n (oDefRecipientSelf, "default-recipient-self", "@"), |
| 164 |
ARGPARSE_s_n (oNoDefRecipient, "no-default-recipient", "@"), |
| 165 |
ARGPARSE_s_s (oGroup, "group", |
| 166 |
N_("|SPEC|set up email aliases")), |
| 167 |
ARGPARSE_s_s (oUnGroup, "ungroup", "@"), |
| 168 |
ARGPARSE_s_n (oNoGroups, "no-groups", "@"), |
| 169 |
ARGPARSE_s_s (oCompliance, "compliance", "@"), |
| 170 |
ARGPARSE_s_n (oGnuPG, "gnupg", "@"), |
| 171 |
ARGPARSE_s_n (oGnuPG, "no-pgp2", "@"), |
| 172 |
ARGPARSE_s_n (oGnuPG, "no-pgp6", "@"), |
| 173 |
ARGPARSE_s_n (oGnuPG, "no-pgp7", "@"), |
| 174 |
ARGPARSE_s_n (oGnuPG, "no-pgp8", "@"), |
| 175 |
ARGPARSE_s_n (oRFC2440, "rfc2440", "@"), |
| 176 |
ARGPARSE_s_n (oRFC4880, "rfc4880", "@"), |
| 177 |
ARGPARSE_s_n (oRFC4880bis, "rfc4880bis", "@"), |
| 178 |
ARGPARSE_s_n (oOpenPGP, "openpgp", N_("use strict OpenPGP behavior")), |
| 179 |
ARGPARSE_s_n (oPGP6, "pgp6", "@"), |
| 180 |
ARGPARSE_s_n (oPGP7, "pgp7", "@"), |
| 181 |
ARGPARSE_s_n (oPGP8, "pgp8", "@"), |
| 182 |
ARGPARSE_s_s (oDefaultNewKeyAlgo, "default-new-key-algo", "@"), |
| 183 |
ARGPARSE_p_u (oMinRSALength, "min-rsa-length", "@"), |
| 184 |
#ifndef NO_TRUST_MODELS |
| 185 |
ARGPARSE_s_n (oAlwaysTrust, "always-trust", "@"), |
| 186 |
#endif |
| 187 |
ARGPARSE_s_s (oTrustModel, "trust-model", "@"), |
| 188 |
ARGPARSE_s_s (oPhotoViewer, "photo-viewer", "@"), |
| 189 |
ARGPARSE_s_s (oKnownNotation, "known-notation", "@"), |
| 190 |
ARGPARSE_s_s (oAgentProgram, "agent-program", "@"), |
| 191 |
ARGPARSE_s_s (oDirmngrProgram, "dirmngr-program", "@"), |
| 192 |
ARGPARSE_s_n (oExitOnStatusWriteError, "exit-on-status-write-error", "@"), |
| 193 |
ARGPARSE_s_i (oLimitCardInsertTries, "limit-card-insert-tries", "@"), |
| 194 |
ARGPARSE_s_n (oEnableProgressFilter, "enable-progress-filter", "@"), |
| 195 |
ARGPARSE_s_s (oTempDir, "temp-directory", "@"), |
| 196 |
ARGPARSE_s_s (oExecPath, "exec-path", "@"), |
| 197 |
ARGPARSE_s_n (oExpert, "expert", "@"), |
| 198 |
ARGPARSE_s_n (oNoExpert, "no-expert", "@"), |
| 199 |
ARGPARSE_s_n (oNoSecmemWarn, "no-secmem-warning", "@"), |
| 200 |
ARGPARSE_s_n (oRequireSecmem, "require-secmem", "@"), |
| 201 |
ARGPARSE_s_n (oNoRequireSecmem, "no-require-secmem", "@"), |
| 202 |
ARGPARSE_s_n (oNoPermissionWarn, "no-permission-warning", "@"), |
| 203 |
ARGPARSE_s_n (oDryRun, "dry-run", N_("do not make any changes")), |
| 204 |
ARGPARSE_s_n (oInteractive, "interactive", N_("prompt before overwriting")), |
| 205 |
ARGPARSE_s_s (oDefSigExpire, "default-sig-expire", "@"), |
| 206 |
ARGPARSE_s_n (oAskSigExpire, "ask-sig-expire", "@"), |
| 207 |
ARGPARSE_s_n (oNoAskSigExpire, "no-ask-sig-expire", "@"), |
| 208 |
ARGPARSE_s_s (oDefCertExpire, "default-cert-expire", "@"), |
| 209 |
ARGPARSE_s_n (oAskCertExpire, "ask-cert-expire", "@"), |
| 210 |
ARGPARSE_s_n (oNoAskCertExpire, "no-ask-cert-expire", "@"), |
| 211 |
ARGPARSE_s_i (oDefCertLevel, "default-cert-level", "@"), |
| 212 |
ARGPARSE_s_i (oMinCertLevel, "min-cert-level", "@"), |
| 213 |
ARGPARSE_s_n (oAskCertLevel, "ask-cert-level", "@"), |
| 214 |
ARGPARSE_s_n (oNoAskCertLevel, "no-ask-cert-level", "@"), |
| 215 |
ARGPARSE_s_n (oOnlySignTextIDs, "only-sign-text-ids", "@"), |
| 216 |
ARGPARSE_s_n (oEnableLargeRSA, "enable-large-rsa", "@"), |
| 217 |
ARGPARSE_s_n (oDisableLargeRSA, "disable-large-rsa", "@"), |
| 218 |
ARGPARSE_s_n (oEnableDSA2, "enable-dsa2", "@"), |
| 219 |
ARGPARSE_s_n (oDisableDSA2, "disable-dsa2", "@"), |
| 220 |
ARGPARSE_s_s (oPersonalCipherPreferences, "personal-cipher-preferences","@"), |
| 221 |
ARGPARSE_s_s (oPersonalDigestPreferences, "personal-digest-preferences","@"), |
| 222 |
ARGPARSE_s_s (oPersonalCompressPreferences, |
| 223 |
"personal-compress-preferences", "@"), |
| 224 |
ARGPARSE_s_s (oDefaultPreferenceList, "default-preference-list", "@"), |
| 225 |
ARGPARSE_s_s (oDefaultKeyserverURL, "default-keyserver-url", "@"), |
| 226 |
ARGPARSE_s_n (oNoExpensiveTrustChecks, "no-expensive-trust-checks", "@"), |
| 227 |
ARGPARSE_s_n (oAllowNonSelfsignedUID, "allow-non-selfsigned-uid", "@"), |
| 228 |
ARGPARSE_s_n (oNoAllowNonSelfsignedUID, "no-allow-non-selfsigned-uid", "@"), |
| 229 |
ARGPARSE_s_n (oAllowFreeformUID, "allow-freeform-uid", "@"), |
| 230 |
ARGPARSE_s_n (oNoAllowFreeformUID, "no-allow-freeform-uid", "@"), |
| 231 |
ARGPARSE_s_n (oPreservePermissions, "preserve-permissions", "@"), |
| 232 |
ARGPARSE_s_i (oDefCertLevel, "default-cert-check-level", "@"), /* old */ |
| 233 |
ARGPARSE_s_s (oTOFUDefaultPolicy, "tofu-default-policy", "@"), |
| 234 |
ARGPARSE_s_n (oLockOnce, "lock-once", "@"), |
| 235 |
ARGPARSE_s_n (oLockMultiple, "lock-multiple", "@"), |
| 236 |
ARGPARSE_s_n (oLockNever, "lock-never", "@"), |
| 237 |
ARGPARSE_s_s (oCompressAlgo,"compress-algo", "@"), |
| 238 |
ARGPARSE_s_s (oCompressAlgo, "compression-algo", "@"), /* Alias */ |
| 239 |
ARGPARSE_s_n (oBZ2DecompressLowmem, "bzip2-decompress-lowmem", "@"), |
| 240 |
ARGPARSE_s_i (oCompletesNeeded, "completes-needed", "@"), |
| 241 |
ARGPARSE_s_i (oMarginalsNeeded, "marginals-needed", "@"), |
| 242 |
ARGPARSE_s_i (oMaxCertDepth, "max-cert-depth", "@" ), |
| 243 |
#ifndef NO_TRUST_MODELS |
| 244 |
ARGPARSE_s_s (oTrustDBName, "trustdb-name", "@"), |
| 245 |
ARGPARSE_s_n (oAutoCheckTrustDB, "auto-check-trustdb", "@"), |
| 246 |
ARGPARSE_s_n (oNoAutoCheckTrustDB, "no-auto-check-trustdb", "@"), |
| 247 |
ARGPARSE_s_s (oForceOwnertrust, "force-ownertrust", "@"), |
| 248 |
#endif |
| 249 |
|
| 250 |
|
| 251 |
ARGPARSE_header ("Input", N_("Options controlling the input")), |
| 252 |
|
| 253 |
ARGPARSE_s_n (oMultifile, "multifile", "@"), |
| 254 |
ARGPARSE_s_s (oInputSizeHint, "input-size-hint", "@"), |
| 255 |
ARGPARSE_s_n (oUtf8Strings, "utf8-strings", "@"), |
| 256 |
ARGPARSE_s_n (oNoUtf8Strings, "no-utf8-strings", "@"), |
| 257 |
ARGPARSE_p_u (oSetFilesize, "set-filesize", "@"), |
| 258 |
ARGPARSE_s_n (oNoLiteral, "no-literal", "@"), |
| 259 |
ARGPARSE_s_s (oSetNotation, "set-notation", "@"), |
| 260 |
ARGPARSE_s_s (oSigNotation, "sig-notation", "@"), |
| 261 |
ARGPARSE_s_s (oCertNotation, "cert-notation", "@"), |
| 262 |
ARGPARSE_s_s (oSetPolicyURL, "set-policy-url", "@"), |
| 263 |
ARGPARSE_s_s (oSigPolicyURL, "sig-policy-url", "@"), |
| 264 |
ARGPARSE_s_s (oCertPolicyURL, "cert-policy-url", "@"), |
| 265 |
ARGPARSE_s_s (oSigKeyserverURL, "sig-keyserver-url", "@"), |
| 266 |
|
| 267 |
|
| 268 |
|
| 269 |
ARGPARSE_header ("Output", N_("Options controlling the output")), |
| 270 |
|
| 271 |
ARGPARSE_s_n (oArmor, "armor", N_("create ascii armored output")), |
| 272 |
ARGPARSE_s_n (oArmor, "armour", "@"), |
| 273 |
ARGPARSE_s_n (oNoArmor, "no-armor", "@"), |
| 274 |
ARGPARSE_s_n (oNoArmor, "no-armour", "@"), |
| 275 |
ARGPARSE_s_s (oOutput, "output", N_("|FILE|write output to FILE")), |
| 276 |
ARGPARSE_p_u (oMaxOutput, "max-output", "@"), |
| 277 |
ARGPARSE_s_s (oComment, "comment", "@"), |
| 278 |
ARGPARSE_s_n (oDefaultComment, "default-comment", "@"), |
| 279 |
ARGPARSE_s_n (oNoComments, "no-comments", "@"), |
| 280 |
ARGPARSE_s_n (oEmitVersion, "emit-version", "@"), |
| 281 |
ARGPARSE_s_n (oNoEmitVersion, "no-emit-version", "@"), |
| 282 |
ARGPARSE_s_n (oNoEmitVersion, "no-version", "@"), /* alias */ |
| 283 |
ARGPARSE_s_n (oNotDashEscaped, "not-dash-escaped", "@"), |
| 284 |
ARGPARSE_s_n (oEscapeFrom, "escape-from-lines", "@"), |
| 285 |
ARGPARSE_s_n (oNoEscapeFrom, "no-escape-from-lines", "@"), |
| 286 |
ARGPARSE_s_n (oMimemode, "mimemode", "@"), |
| 287 |
ARGPARSE_s_n (oTextmodeShort, NULL, "@"), |
| 288 |
ARGPARSE_s_n (oTextmode, "textmode", N_("use canonical text mode")), |
| 289 |
ARGPARSE_s_n (oNoTextmode, "no-textmode", "@"), |
| 290 |
ARGPARSE_s_s (oSetFilename, "set-filename", "@"), |
| 291 |
ARGPARSE_s_n (oForYourEyesOnly, "for-your-eyes-only", "@"), |
| 292 |
ARGPARSE_s_n (oNoForYourEyesOnly, "no-for-your-eyes-only", "@"), |
| 293 |
ARGPARSE_s_n (oShowNotation, "show-notation", "@"), |
| 294 |
ARGPARSE_s_n (oNoShowNotation, "no-show-notation", "@"), |
| 295 |
ARGPARSE_s_n (oShowSessionKey, "show-session-key", "@"), |
| 296 |
ARGPARSE_s_n (oUseEmbeddedFilename, "use-embedded-filename", "@"), |
| 297 |
ARGPARSE_s_n (oNoUseEmbeddedFilename, "no-use-embedded-filename", "@"), |
| 298 |
ARGPARSE_s_n (oUnwrap, "unwrap", "@"), |
| 299 |
ARGPARSE_s_n (oMangleDosFilenames, "mangle-dos-filenames", "@"), |
| 300 |
ARGPARSE_s_n (oNoMangleDosFilenames, "no-mangle-dos-filenames", "@"), |
| 301 |
ARGPARSE_s_n (oNoSymkeyCache, "no-symkey-cache", "@"), |
| 302 |
ARGPARSE_s_n (oSkipVerify, "skip-verify", "@"), |
| 303 |
ARGPARSE_s_n (oListOnly, "list-only", "@"), |
| 304 |
ARGPARSE_s_i (oCompress, NULL, |
| 305 |
N_("|N|set compress level to N (0 disables)")), |
| 306 |
ARGPARSE_s_i (oCompressLevel, "compress-level", "@"), |
| 307 |
ARGPARSE_s_i (oBZ2CompressLevel, "bzip2-compress-level", "@"), |
| 308 |
ARGPARSE_s_n (oDisableSignerUID, "disable-signer-uid", "@"), |
| 309 |
|
| 310 |
|
| 311 |
ARGPARSE_header ("ImportExport", |
| 312 |
N_("Options controlling key import and export")), |
| 313 |
|
| 314 |
ARGPARSE_s_s (oAutoKeyLocate, "auto-key-locate", |
| 315 |
N_("|MECHANISMS|use MECHANISMS to locate keys by mail address")), |
| 316 |
ARGPARSE_s_n (oNoAutoKeyLocate, "no-auto-key-locate", "@"), |
| 317 |
ARGPARSE_s_n (oAutoKeyImport, "auto-key-import", |
| 318 |
N_("import missing key from a signature")), |
| 319 |
ARGPARSE_s_n (oNoAutoKeyImport, "no-auto-key-import", "@"), |
| 320 |
ARGPARSE_s_n (oAutoKeyRetrieve, "auto-key-retrieve", "@"), |
| 321 |
ARGPARSE_s_n (oNoAutoKeyRetrieve, "no-auto-key-retrieve", "@"), |
| 322 |
ARGPARSE_s_n (oIncludeKeyBlock, "include-key-block", |
| 323 |
N_("include the public key in signatures")), |
| 324 |
ARGPARSE_s_n (oNoIncludeKeyBlock, "no-include-key-block", "@"), |
| 325 |
ARGPARSE_s_n (oDisableDirmngr, "disable-dirmngr", |
| 326 |
N_("disable all access to the dirmngr")), |
| 327 |
ARGPARSE_s_s (oKeyServer, "keyserver", "@"), /* Deprecated. */ |
| 328 |
ARGPARSE_s_s (oKeyServerOptions, "keyserver-options", "@"), |
| 329 |
ARGPARSE_s_s (oKeyOrigin, "key-origin", "@"), |
| 330 |
ARGPARSE_s_s (oImportOptions, "import-options", "@"), |
| 331 |
ARGPARSE_s_s (oImportFilter, "import-filter", "@"), |
| 332 |
ARGPARSE_s_s (oExportOptions, "export-options", "@"), |
| 333 |
ARGPARSE_s_s (oExportFilter, "export-filter", "@"), |
| 334 |
ARGPARSE_s_n (oMergeOnly, "merge-only", "@" ), |
| 335 |
ARGPARSE_s_n (oAllowSecretKeyImport, "allow-secret-key-import", "@"), |
| 336 |
|
| 337 |
|
| 338 |
ARGPARSE_header ("Keylist", N_("Options controlling key listings")), |
| 339 |
|
| 340 |
ARGPARSE_s_s (oListOptions, "list-options", "@"), |
| 341 |
ARGPARSE_s_n (oShowPhotos, "show-photos", "@"), |
| 342 |
ARGPARSE_s_n (oNoShowPhotos, "no-show-photos", "@"), |
| 343 |
ARGPARSE_s_n (oShowPolicyURL, "show-policy-url", "@"), |
| 344 |
ARGPARSE_s_n (oNoShowPolicyURL, "no-show-policy-url", "@"), |
| 345 |
ARGPARSE_s_n (oWithColons, "with-colons", "@"), |
| 346 |
ARGPARSE_s_n (oWithTofuInfo,"with-tofu-info", "@"), |
| 347 |
ARGPARSE_s_n (oWithKeyData,"with-key-data", "@"), |
| 348 |
ARGPARSE_s_n (oWithSigList,"with-sig-list", "@"), |
| 349 |
ARGPARSE_s_n (oWithSigCheck,"with-sig-check", "@"), |
| 350 |
ARGPARSE_s_n (oWithFingerprint, "with-fingerprint", "@"), |
| 351 |
ARGPARSE_s_n (oWithSubkeyFingerprint, "with-subkey-fingerprint", "@"), |
| 352 |
ARGPARSE_s_n (oWithSubkeyFingerprint, "with-subkey-fingerprints", "@"), |
| 353 |
ARGPARSE_s_n (oWithICAOSpelling, "with-icao-spelling", "@"), |
| 354 |
ARGPARSE_s_n (oWithKeygrip, "with-keygrip", "@"), |
| 355 |
ARGPARSE_s_n (oWithSecret, "with-secret", "@"), |
| 356 |
ARGPARSE_s_n (oWithWKDHash, "with-wkd-hash", "@"), |
| 357 |
ARGPARSE_s_n (oWithKeyOrigin, "with-key-origin", "@"), |
| 358 |
ARGPARSE_s_n (oFastListMode, "fast-list-mode", "@"), |
| 359 |
ARGPARSE_s_n (oFixedListMode, "fixed-list-mode", "@"), |
| 360 |
ARGPARSE_s_n (oLegacyListMode, "legacy-list-mode", "@"), |
| 361 |
ARGPARSE_s_n (oPrintPKARecords, "print-pka-records", "@"), |
| 362 |
ARGPARSE_s_n (oPrintDANERecords, "print-dane-records", "@"), |
| 363 |
ARGPARSE_s_s (oKeyidFormat, "keyid-format", "@"), |
| 364 |
ARGPARSE_s_n (oShowKeyring, "show-keyring", "@"), |
| 365 |
|
| 366 |
|
| 367 |
ARGPARSE_header (NULL, N_("Options to specify keys")), |
| 368 |
|
| 369 |
ARGPARSE_s_s (oRecipient, "recipient", N_("|USER-ID|encrypt for USER-ID")), |
| 370 |
ARGPARSE_s_s (oHiddenRecipient, "hidden-recipient", "@"), |
| 371 |
ARGPARSE_s_s (oRecipientFile, "recipient-file", "@"), |
| 372 |
ARGPARSE_s_s (oHiddenRecipientFile, "hidden-recipient-file", "@"), |
| 373 |
ARGPARSE_s_s (oRecipient, "remote-user", "@"), /* (old option name) */ |
| 374 |
ARGPARSE_s_n (oThrowKeyids, "throw-keyids", "@"), |
| 375 |
ARGPARSE_s_n (oNoThrowKeyids, "no-throw-keyids", "@"), |
| 376 |
ARGPARSE_s_s (oLocalUser, "local-user", |
| 377 |
N_("|USER-ID|use USER-ID to sign or decrypt")), |
| 378 |
ARGPARSE_s_s (oTrustedKey, "trusted-key", "@"), |
| 379 |
ARGPARSE_s_s (oSender, "sender", "@"), |
| 380 |
ARGPARSE_s_s (oTrySecretKey, "try-secret-key", "@"), |
| 381 |
ARGPARSE_s_n (oTryAllSecrets, "try-all-secrets", "@"), |
| 382 |
ARGPARSE_s_n (oNoDefKeyring, "no-default-keyring", "@"), |
| 383 |
ARGPARSE_s_n (oNoKeyring, "no-keyring", "@"), |
| 384 |
ARGPARSE_s_s (oKeyring, "keyring", "@"), |
| 385 |
ARGPARSE_s_s (oPrimaryKeyring, "primary-keyring", "@"), |
| 386 |
ARGPARSE_s_s (oSecretKeyring, "secret-keyring", "@"), |
| 387 |
ARGPARSE_s_n (oSkipHiddenRecipients, "skip-hidden-recipients", "@"), |
| 388 |
ARGPARSE_s_n (oNoSkipHiddenRecipients, "no-skip-hidden-recipients", "@"), |
| 389 |
ARGPARSE_s_s (oOverrideSessionKey, "override-session-key", "@"), |
| 390 |
ARGPARSE_s_i (oOverrideSessionKeyFD, "override-session-key-fd", "@"), |
| 391 |
|
| 392 |
|
| 393 |
ARGPARSE_header ("Security", N_("Options controlling the security")), |
| 394 |
|
| 395 |
ARGPARSE_s_i (oS2KMode, "s2k-mode", "@"), |
| 396 |
ARGPARSE_s_s (oS2KDigest, "s2k-digest-algo", "@"), |
| 397 |
ARGPARSE_s_s (oS2KCipher, "s2k-cipher-algo", "@"), |
| 398 |
ARGPARSE_s_i (oS2KCount, "s2k-count", "@"), |
| 399 |
ARGPARSE_s_n (oRequireCrossCert, "require-backsigs", "@"), |
| 400 |
ARGPARSE_s_n (oRequireCrossCert, "require-cross-certification", "@"), |
| 401 |
ARGPARSE_s_n (oNoRequireCrossCert, "no-require-backsigs", "@"), |
| 402 |
ARGPARSE_s_n (oNoRequireCrossCert, "no-require-cross-certification", "@"), |
| 403 |
ARGPARSE_s_s (oVerifyOptions, "verify-options", "@"), |
| 404 |
ARGPARSE_s_n (oEnableSpecialFilenames, "enable-special-filenames", "@"), |
| 405 |
ARGPARSE_s_n (oNoRandomSeedFile, "no-random-seed-file", "@"), |
| 406 |
ARGPARSE_s_n (oNoSigCache, "no-sig-cache", "@"), |
| 407 |
ARGPARSE_s_n (oIgnoreTimeConflict, "ignore-time-conflict", "@"), |
| 408 |
ARGPARSE_s_n (oIgnoreValidFrom, "ignore-valid-from", "@"), |
| 409 |
ARGPARSE_s_n (oIgnoreCrcError, "ignore-crc-error", "@"), |
| 410 |
ARGPARSE_s_n (oIgnoreMDCError, "ignore-mdc-error", "@"), |
| 411 |
ARGPARSE_s_s (oDisableCipherAlgo, "disable-cipher-algo", "@"), |
| 412 |
ARGPARSE_s_s (oDisablePubkeyAlgo, "disable-pubkey-algo", "@"), |
| 413 |
ARGPARSE_s_s (oCipherAlgo, "cipher-algo", "@"), |
| 414 |
ARGPARSE_s_s (oDigestAlgo, "digest-algo", "@"), |
| 415 |
ARGPARSE_s_s (oCertDigestAlgo, "cert-digest-algo", "@"), |
| 416 |
ARGPARSE_s_n (oOverrideComplianceCheck, "override-compliance-check", "@"), |
| 417 |
/* Options to override new security defaults. */ |
| 418 |
ARGPARSE_s_n (oAllowWeakKeySignatures, "allow-weak-key-signatures", "@"), |
| 419 |
ARGPARSE_s_n (oAllowWeakDigestAlgos, "allow-weak-digest-algos", "@"), |
| 420 |
ARGPARSE_s_s (oWeakDigest, "weak-digest","@"), |
| 421 |
ARGPARSE_s_n (oAllowMultisigVerification, |
| 422 |
"allow-multisig-verification", "@"), |
| 423 |
ARGPARSE_s_n (oAllowMultipleMessages, "allow-multiple-messages", "@"), |
| 424 |
ARGPARSE_s_n (oNoAllowMultipleMessages, "no-allow-multiple-messages", "@"), |
| 425 |
|
| 426 |
|
| 427 |
|
| 428 |
ARGPARSE_header (NULL, N_("Options for unattended use")), |
| 429 |
|
| 430 |
ARGPARSE_s_n (oBatch, "batch", "@"), |
| 431 |
ARGPARSE_s_n (oNoBatch, "no-batch", "@"), |
| 432 |
ARGPARSE_s_n (oAnswerYes, "yes", "@"), |
| 433 |
ARGPARSE_s_n (oAnswerNo, "no", "@"), |
| 434 |
ARGPARSE_s_i (oStatusFD, "status-fd", "@"), |
| 435 |
ARGPARSE_s_s (oStatusFile, "status-file", "@"), |
| 436 |
ARGPARSE_s_i (oAttributeFD, "attribute-fd", "@"), |
| 437 |
ARGPARSE_s_s (oAttributeFile, "attribute-file", "@"), |
| 438 |
ARGPARSE_s_i (oCommandFD, "command-fd", "@"), |
| 439 |
ARGPARSE_s_s (oCommandFile, "command-file", "@"), |
| 440 |
ARGPARSE_o_s (oPassphrase, "passphrase", "@"), |
| 441 |
ARGPARSE_s_i (oPassphraseFD, "passphrase-fd", "@"), |
| 442 |
ARGPARSE_s_s (oPassphraseFile, "passphrase-file", "@"), |
| 443 |
ARGPARSE_s_i (oPassphraseRepeat,"passphrase-repeat", "@"), |
| 444 |
ARGPARSE_s_s (oPinentryMode, "pinentry-mode", "@"), |
| 445 |
ARGPARSE_s_n (oForceSignKey, "force-sign-key", "@"), |
| 446 |
|
| 447 |
ARGPARSE_header (NULL, N_("Other options")), |
| 448 |
|
| 449 |
ARGPARSE_s_s (oRequestOrigin, "request-origin", "@"), |
| 450 |
ARGPARSE_s_s (oDisplay, "display", "@"), |
| 451 |
ARGPARSE_s_s (oTTYname, "ttyname", "@"), |
| 452 |
ARGPARSE_s_s (oTTYtype, "ttytype", "@"), |
| 453 |
ARGPARSE_s_s (oLCctype, "lc-ctype", "@"), |
| 454 |
ARGPARSE_s_s (oLCmessages, "lc-messages","@"), |
| 455 |
ARGPARSE_s_s (oXauthority, "xauthority", "@"), |
| 456 |
ARGPARSE_s_n (oNoAutostart, "no-autostart", "@"), |
| 457 |
ARGPARSE_s_n (oForbidGenKey, "forbid-gen-key", "@"), |
| 458 |
ARGPARSE_s_n (oRequireCompliance, "require-compliance", "@"), |
| 459 |
/* Options which can be used in special circumstances. They are not |
| 460 |
* published and we hope they are never required. */ |
| 461 |
ARGPARSE_s_n (oUseOnlyOpenPGPCard, "use-only-openpgp-card", "@"), |
| 462 |
/* Esoteric compatibility options. */ |
| 463 |
ARGPARSE_s_n (oRFC2440Text, "rfc2440-text", "@"), |
| 464 |
ARGPARSE_s_n (oNoRFC2440Text, "no-rfc2440-text", "@"), |
| 465 |
|
| 466 |
ARGPARSE_header (NULL, ""), /* Stop the header group. */ |
| 467 |
|
| 468 |
|
| 469 |
/* Aliases. I constantly mistype these, and assume other people do |
| 470 |
as well. */ |
| 471 |
ARGPARSE_s_s (oPersonalCipherPreferences, "personal-cipher-prefs", "@"), |
| 472 |
ARGPARSE_s_s (oPersonalDigestPreferences, "personal-digest-prefs", "@"), |
| 473 |
ARGPARSE_s_s (oPersonalCompressPreferences, "personal-compress-prefs", "@"), |
| 474 |
|
| 475 |
/* These two are aliases to help users of the PGP command line |
| 476 |
product use gpg with minimal pain. Many commands are common |
| 477 |
already as they seem to have borrowed commands from us. Now I'm |
| 478 |
returning the favor. */ |
| 479 |
ARGPARSE_s_s (oLocalUser, "sign-with", "@"), |
| 480 |
ARGPARSE_s_s (oRecipient, "user", "@"), |
| 481 |
|
| 482 |
|
| 483 |
/* Dummy options with warnings. */ |
| 484 |
ARGPARSE_s_n (oUseAgent, "use-agent", "@"), |
| 485 |
ARGPARSE_s_n (oNoUseAgent, "no-use-agent", "@"), |
| 486 |
ARGPARSE_s_s (oGpgAgentInfo, "gpg-agent-info", "@"), |
| 487 |
ARGPARSE_s_s (oReaderPort, "reader-port", "@"), |
| 488 |
ARGPARSE_s_s (octapiDriver, "ctapi-driver", "@"), |
| 489 |
ARGPARSE_s_s (opcscDriver, "pcsc-driver", "@"), |
| 490 |
ARGPARSE_s_n (oDisableCCID, "disable-ccid", "@"), |
| 491 |
ARGPARSE_s_n (oHonorHttpProxy, "honor-http-proxy", "@"), |
| 492 |
ARGPARSE_s_s (oTOFUDBFormat, "tofu-db-format", "@"), |
| 493 |
|
| 494 |
/* Dummy options. */ |
| 495 |
ARGPARSE_ignore (oStrict, "strict"), |
| 496 |
ARGPARSE_ignore (oNoStrict, "no-strict"), |
| 497 |
ARGPARSE_ignore (oLoadExtension, "load-extension"), /* from 1.4. */ |
| 498 |
|
| 499 |
ARGPARSE_s_n (oNoop, "sk-comments", "@"), |
| 500 |
ARGPARSE_s_n (oNoop, "no-sk-comments", "@"), |
| 501 |
ARGPARSE_s_n (oNoop, "compress-keys", "@"), |
| 502 |
ARGPARSE_s_n (oNoop, "compress-sigs", "@"), |
| 503 |
ARGPARSE_s_n (oNoop, "force-v3-sigs", "@"), |
| 504 |
ARGPARSE_s_n (oNoop, "no-force-v3-sigs", "@"), |
| 505 |
ARGPARSE_s_n (oNoop, "force-v4-certs", "@"), |
| 506 |
ARGPARSE_s_n (oNoop, "no-force-v4-certs", "@"), |
| 507 |
ARGPARSE_s_n (oNoop, "no-mdc-warning", "@"), |
| 508 |
ARGPARSE_s_n (oNoop, "force-mdc", "@"), |
| 509 |
ARGPARSE_s_n (oNoop, "no-force-mdc", "@"), |
| 510 |
ARGPARSE_s_n (oNoop, "disable-mdc", "@"), |
| 511 |
ARGPARSE_s_n (oNoop, "no-disable-mdc", "@"), |
| 512 |
|
| 513 |
|
| 514 |
ARGPARSE_group (302, N_( |
| 515 |
"@\n(See the man page for a complete listing of all commands and options)\n" |
| 516 |
)), |
| 517 |
|
| 518 |
ARGPARSE_group (303, N_("@\nExamples:\n\n" |
| 519 |
" -se -r Bob [file] sign and encrypt for user Bob\n" |
| 520 |
" --clear-sign [file] make a clear text signature\n" |
| 521 |
" --detach-sign [file] make a detached signature\n" |
| 522 |
" --list-keys [names] show keys\n" |
| 523 |
" --fingerprint [names] show fingerprints\n")), |
| 524 |
|
| 525 |
/* Our own extensions. Do not strip them while updating!!! */ |
| 526 |
ARGPARSE_group (309, N_("@Sequoia-specific extensions:\n")), |
| 527 |
|
| 528 |
ARGPARSE_c (aXSequoiaParcimonie, "x-sequoia-parcimonie", "continuously update certificates"), |
| 529 |
ARGPARSE_s_n (oXSequoiaAutostartParcimonie, "x-sequoia-autostart-parcimonie", "automatically start daemon to update certs"), |
| 530 |
ARGPARSE_c (aXSequoiaParcimonieDaemonize, "x-sequoia-parcimonie-daemonize", "@"), |
| 531 |
ARGPARSE_s_s (oXSequoiaQuietFakedSystemTime, "x-sequoia-quiet-faked-system-time", "@"), |
| 532 |
/* Our own extensions. Do not strip them while updating!!! */ |
| 533 |
|
| 534 |
ARGPARSE_end () |