json: Improve keylist help

* src/gpgme-json.c (hlp_keylist): Clarify doc about keys parameter.
This commit is contained in:
Andre Heinecke 2018-05-25 13:09:34 +02:00
parent 10724e363d
commit fe06929dee
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -1719,10 +1719,11 @@ op_version (cjson_t request, cjson_t result)
static const char hlp_keylist[] = static const char hlp_keylist[] =
"op: \"keylist\"\n" "op: \"keylist\"\n"
"keys: Array of strings or fingerprints to lookup\n"
" For a single key a String may be used instead of an array.\n"
"\n" "\n"
"Optional parameters:\n" "Optional parameters:\n"
"keys: Array of strings or fingerprints to lookup\n"
" For a single key a String may be used instead of an array.\n"
" default lists all keys.\n"
"protocol: Either \"openpgp\" (default) or \"cms\".\n" "protocol: Either \"openpgp\" (default) or \"cms\".\n"
"chunksize: Max number of bytes in the resulting \"data\".\n" "chunksize: Max number of bytes in the resulting \"data\".\n"
"\n" "\n"