complete-c gpg -s s -l sign -d(_"Make a signature")
complete-c gpg -l clearsign -d(_"Make a clear text signature")
complete-c gpg -s b -l detach-sign -d(_"Make a detached signature")
complete-c gpg -s e -l encrypt -d(_"Encrypt data")
complete-c gpg -s c -l symmetric -d(_"Encrypt with a symmetric cipher using a passphrase")
complete-c gpg -l store -d(_"Store only (make a simple RFC1991 packet)")
complete-c gpg -l decrypt -d(_"Decrypt specified file or stdin")
complete-c gpg -l verify -d(_"Assume specified file or stdin is sigfile and verify it")
complete-c gpg -l multifile -d(_"Modify certain other commands to accept multiple files for processing")
complete-c gpg -l verify-files -d(_"Identical to '--multifile --verify'")
complete-c gpg -l encrypt-files -d(_"Identical to '--multifile --encrypt'")
complete-c gpg -l decrypt-files -d(_"Identical to --multifile --decrypt")
complete-c gpg -l list-keys -a"(__fish_complete_gpg_user_id)"-d(_"List all keys from the public keyrings, or just the ones given on the command line")
complete-c gpg -l list-public-keys -a"(__fish_complete_gpg_user_id)"-d(_"List all keys from the public keyrings, or just the ones given on the command line")
complete-c gpg -s K -l list-secret-keys -a"(__fish_complete_gpg_user_id)"-d(_"List all keys from the secret keyrings, or just the ones given on the command line")
complete-c gpg -l list-sigs -a"(__fish_complete_gpg_user_id)"-d(_"Same as --list-keys, but the signatures are listed too")
complete-c gpg -l check-sigs -a"(__fish_complete_gpg_user_id)"-d(_"Same as --list-keys, but the signatures are listed and verified")
complete-c gpg -l fingerprint -a"(__fish_complete_gpg_user_id)"-d(_"List all keys with their fingerprints")
complete-c gpg -l gen-key -d(_"Generate a new key pair")
complete-c gpg -l edit-key -d(_"Present a menu which enables you to do all key related tasks")-xa"(__fish_complete_gpg_user_id)"
complete-c gpg -l sign-key -xa"(__fish_complete_gpg_user_id)"-d(_"Signs a public key with your secret key")
complete-c gpg -l lsign-key -xa"(__fish_complete_gpg_user_id)"-d(_"Signs a public key with your secret key but marks it as non exportable")
complete-c gpg -l delete-key -xa"(__fish_complete_gpg_user_id)"-d(_"Remove key from the public keyring")
complete-c gpg -l delete-secret-key -xa"(__fish_complete_gpg_user_id)"-d(_"Remove key from the secret and public keyring")
complete-c gpg -l delete-secret-and-public-key -xa"(__fish_complete_gpg_user_id)"-d(_"Same as --delete-key, but if a secret key exists, it will be removed first")
complete-c gpg -l gen-revoke -xa"(__fish_complete_gpg_user_id)"-d(_"Generate a revocation certificate for the complete key")
complete-c gpg -l desig-revoke -xa"(__fish_complete_gpg_user_id)"-d(_"Generate a designated revocation certificate for a key")
complete-c gpg -l export -a"(__fish_complete_gpg_user_id)"-d(_"Either export all keys from all keyrings (default keyrings and those registered via option --keyring), or if at least one name is given, those of the given name")
complete-c gpg -l send-keys -xa"(__fish_complete_gpg_user_id)"-d(_"Same as --export but sends the keys to a keyserver")
complete-c gpg -l export-secret-keys -a"(__fish_complete_gpg_user_id)"-d(_"Same as --export, but exports the secret keys instead")
complete-c gpg -l export-secret-subkeys -a"(__fish_complete_gpg_user_id)"-d(_"Same as --export, but exports the secret keys instead")
complete-c gpg -l import -a"(__fish_complete_gpg_user_id)"-d(_"Import/merge keys. This adds the given keys to the keyring.")
complete-c gpg -l fast-import -a"(__fish_complete_gpg_user_id)"-d(_"Import/merge keys. This adds the given keys to the keyring.")
complete-c gpg -l recv-keys -a"(__fish_complete_gpg_key_id)"-d(_"Import the keys with the given key IDs from a keyserver")
complete-c gpg -l refresh-keys -a"(__fish_complete_gpg_key_id)"-d(_"Request updates from a keyserver for keys that already exist on the local keyring")
complete-c gpg -l search-keys -a"(__fish_complete_gpg_user_id)"-d(_"Search the keyserver for the given names")
complete-c gpg -l check-trustdb -d(_"Do trust database maintenance without user interaction")
complete-c gpg -l export-ownertrust -d(_"Send the ownertrust values to stdout")
complete-c gpg -l import-ownertrust -d(_"Update the trustdb with the ownertrust values stored in specified files or stdin")
complete-c gpg -l rebuild-keydb-caches -d(_"Create signature caches in the keyring")
complete-c gpg -l print-md -d(_"Print message digest of algorithm ALGO for all given files or stdin")
complete-c gpg -l print-mds -d(_"Print message digest of algorithm ALGO for all given files or stdin")
complete-c gpg -l gen-random-xa"0 1 2"-d(_"Emit specified number of random bytes of the given quality level")
complete-c gpg -l version -d(_"Display version and supported algorithms, and exit")
complete-c gpg -l warranty -d(_"Display warranty and exit")
complete-c gpg -s h -lhelp-d(_"Display help and exit")
#
# gpg options
#
complete-c gpg -s a -l armor -d(_"Create ASCII armored output")
complete-c gpg -s o -l output -r-d(_"Write output to specified file")
complete-c gpg -l max-output -d(_"Sets a limit on the number of bytes that will be generated when processing a file")-x
complete-c gpg -l mangle-dos-filenames -d(_"Replace (rather than add to) the extension of an output filename")
complete-c gpg -l no-mangle-dos-filenames -d(_"Add to (rather than replace) the extension of an output filename (default)")
complete-c gpg -s u -l local-user -xa"(__fish_complete_gpg_user_id)"-d(_"Use specified key as the key to sign with")
complete-c gpg -l default-key -xa"(__fish_complete_gpg_user_id)"-d(_"Use specified key as the default key to sign with")
complete-c gpg -s r -l recipient -xa"(__fish_complete_gpg_user_id)"-d(_"Encrypt for specified user id")
complete-c gpg -s R -l hidden-recipient -xa"(__fish_complete_gpg_user_id)"-d(_"Encrypt for specified user id, but hide the keyid of the key")
complete-c gpg -l default-recipient -xa"(__fish_complete_gpg_user_id)"-d(_"Use specified user id as default recipient")
complete-c gpg -l default-recipient-self -d(_"Use the default key as default recipient if option --recipient is not used and don't ask if this is a valid one")
complete-c gpg -l no-default-recipient -d(_"Reset --default-recipient and --default-recipient-self")
complete-c gpg -l encrypt-to -xa"(__fish_complete_gpg_user_id)"-d(_"Same as --recipient but this one is intended for use in the options file and may be used with your own user-id as an 'encrypt-to-self'")
complete-c gpg -l hidden-encrypt-to -xa"(__fish_complete_gpg_user_id)"-d(_"Same as --hidden-recipient but this one is intended for use in the options file and may be used with your own user-id as a hidden 'encrypt-to-self'")
complete-c gpg -l no-encrypt-to -d(_"Disable the use of all --encrypt-to and --hidden-encrypt-to keys")
complete-c gpg -s v -l verbose -d(_"Give more information during processing")
complete-c gpg -s q -l quiet -d(_"Quiet mode")
complete-c gpg -s z -d(_"Compression level")-a"(seq 1 9)"
complete-c gpg -l bzip2-decompress-lowmem -d(_"Use a different decompression method for BZIP2 compressed files")
complete-c gpg -s t -l textmode -d(_"Treat input files as text and store them in the OpenPGP canonical text form with standard 'CRLF' line endings")
complete-c gpg -l no-textmode -d(_"Don't treat input files as text and store them in the OpenPGP canonical text form with standard 'CRLF' line endings")
complete-c gpg -s n -l dry-run -d(_"Don't make any changes (this is not completely implemented)")
complete-c gpg -s i -l interactive -d(_"Prompt before overwriting any files")
complete-c gpg -l batch -d(_"Use batch mode")
complete-c gpg -l no-batch -d(_"Don't use batch mode")
complete-c gpg -l no-tty -d(_"Make sure that the TTY (terminal) is never used for any output")
complete-c gpg -l yes -d(_"Assume yes on most questions")
complete-c gpg -l no -d(_"Assume no on most questions")
complete-c gpg -l ask-cert-level -d(_"When making a key signature, prompt for a certification level")
complete-c gpg -l no-ask-cert-level -d(_"When making a key signature, do not prompt for a certification level")
complete-c gpg -l default-cert-level -a"0\t'Not verified' 1\t'Not verified' 2\t'Caual verification' 3\t'Extensive verification'"-d(_"The default certification level to use for the check level when signing a key")
complete-c gpg -l min-cert-level -a"0 1 2 3"-d(_"When building the trust database, disregard any signatures with a certification level below this")
complete-c gpg -l trusted-key -a"(__fish_complete_gpg_key_id)"-d(_"Assume that the specified key is as trustworthy as one of your own secret keys")
complete-c gpg -l trust-model -a"pgp classic direct always"-d(_"Set what trust model GnuPG should follow")
complete-c gpg -l keyid-format -a"short 0xshort long 0xlong"-d(_"Select how to display key IDs")
complete-c gpg -l list-options -xa"(__fish_append , show-photos show-policy-urls show-notations show-std-notations show-user-notations show-keyserver-urls show-uid-validity show-unusable-uids show-unusable-subkeys show-keyring show-sig-expire show-sig-subpackets )"-d(_"This is a space or comma delimited string that gives options used when listing keys and signatures")
complete-c gpg -l verify-options -xa"(__fish_append , show-photos show-policy-urls show-notations show-std-notations show-user-notations show-keyserver-urls show-uid-validity show-unusable-uids)"-d(_"Options used when verifying signatures")
complete-c gpg -l photo-viewer -r-d(_"This is the command line that should be run to view a photo ID")
complete-c gpg -lexec-path -r-d(_"Sets a list of directories to search for photo viewers and keyserver helpers")
complete-c gpg -l show-keyring -d(_"Display the keyring name at the head of key listings to show which keyring a given key resides on")
complete-c gpg -l keyring -r-d(_"Add specified file to the current list of keyrings")
complete-c gpg -l secret-keyring -r-d(_"Add specified file to the current list of secret keyrings")
complete-c gpg -l primary-keyring -r-d(_"Designate specified file as the primary public keyring")
complete-c gpg -l trustdb-name -r-d(_"Use specified file instead of the default trustdb")
complete-c gpg -l homedir -a"(__fish_complete_directory (commandline -ct))"-d(_"Set the home directory")
complete-c gpg -l display-charset -a" iso-8859-1 iso-8859-2 iso-8859-15 koi8-r utf-8 "-d(_"Set the name of the native character set")
complete-c gpg -l utf8-strings -d(_"Assume that command line arguments are given as UTF8 strings")
complete-c gpg -l no-utf8-strings -d(_"Assume that arguments are encoded in the character set as specified by --display- charset. These options affect all following arguments")
complete-c gpg -l options -r-d(_"Read options from specified file and do not try to read them from the default options file in the homedir")
complete-c gpg -l no-options -d(_"Shortcut for '--options /dev/null'")
complete-c gpg -l load-extension -x-d(_"Load an extension module")
complete-c gpg -l enable-progress-filter -d(_"Enable certain PROGRESS status outputs")
complete-c gpg -lstatus-fd -x-d(_"Write special status strings to the specified file descriptor")
complete-c gpg -l logger-fd -x-d(_"Write log output to the specified file descriptor")
complete-c gpg -l attribute-fd -d(_"Write attribute subpackets to the specified file descriptor")
complete-c gpg -l ignore-mdc-error -d(_"Do not fail on MDC integrity protection failiure")
complete-c gpg -l lock-once -d(_"Lock the databases the first time a lock is requested and do not release the lock until the process terminates")
complete-c gpg -l lock-multiple -d(_"Release the locks every time a lock is no longer needed")
complete-c gpg -l no-random-seed-file -d(_"Do not create an internal pool file for quicker generation of random numbers")
complete-c gpg -l no-verbose -d(_"Reset verbose level to 0")
complete-c gpg -l no-greeting -d(_"Suppress the initial copyright message")
complete-c gpg -l no-secmem-warning -d(_"Suppress the warning about 'using insecure memory'")
complete-c gpg -l no-permission-warning -d(_"Suppress the warning about unsafe file and home directory (--homedir) permissions")
complete-c gpg -l no-mdc-warning -d(_"Suppress the warning about missing MDC integrity protection")
complete-c gpg -l require-secmem -d(_"Refuse to run if GnuPG cannot get secure memory")
complete-c gpg -l no-require-secmem -d(_"Do not refuse to run if GnuPG cannot get secure memory (default)")
complete-c gpg -l no-armor -d(_"Assume the input data is not in ASCII armored format")
complete-c gpg -l no-default-keyring -d(_"Do not add the default keyrings to the list of keyrings")
complete-c gpg -l skip-verify -d(_"Skip the signature verification step")
complete-c gpg -l with-colons -d(_"Print key listings delimited by colons")
complete-c gpg -l with-key-data -d(_"Print key listings delimited by colons (like --with-colons) and print the public key data")
complete-c gpg -l with-fingerprint -d(_"Same as the command --fingerprint but changes only the format of the output and may be used together with another command")
complete-c gpg -l fast-list-mode -d(_"Changes the output of the list commands to work faster")
complete-c gpg -l fixed-list-mode -d(_"Do not merge primary user ID and primary key in --with-colon listing mode and print all timestamps as UNIX timestamps")
complete-c gpg -l list-only -d(_"Changes the behaviour of some commands. This is like --dry-run but different")
complete-c gpg -l show-session-key -d(_"Display the session key used for one message")
complete-c gpg -l override-session-key -x-d(_"Don't use the public key but the specified session key")
complete-c gpg -l ask-sig-expire -d(_"Prompt for an expiration time")
complete-c gpg -l no-ask-sig-expire -d(_"Do not prompt for an expiration time")
complete-c gpg -l ask-cert-expire -d(_"Prompt for an expiration time")
complete-c gpg -l no-ask-cert-expire -d(_"Do not prompt for an expiration time")
complete-c gpg -l try-all-secrets -d(_"Don't look at the key ID as stored in the message but try all secret keys in turn to find the right decryption key")
complete-c gpg -l enable-special-filenames -d(_"Enable a mode in which filenames of the form -&n, where n is a non-negative decimal number, refer to the file descriptor n and not to a file with that name")
complete-c gpg -l group -x-d(_"Sets up a named group, which is similar to aliases in email programs")
complete-c gpg -l ungroup -d(_"Remove a given entry from the --group list")
complete-c gpg -l no-groups -d(_"Remove all entries from the --group list")
complete-c gpg -l preserve-permissions -d(_"Don't change the permissions of a secret keyring back to user read/write only")
complete-c gpg -l personal-cipher-preferences -x-d(_"Set the list of personal cipher preferences to the specified string")
complete-c gpg -l personal-digest-preferences -x-d(_"Set the list of personal digest preferences to the specified string")
complete-c gpg -l personal-compress-preferences -x-d(_"Set the list of personal compression preferences to the specified string")
complete-c gpg -l default-preference-list -x-d(_"Set the list of default preferences to the specified string")