Skip to content

Commit 3b587ff

Browse files
committed
Merge remote-tracking branch 'origin/pr/108'
* origin/pr/108: add --default-key to allowed options Pull request description: i have no idea what i'm doing, but this is what i think mamarek proposed in #107 (comment)
2 parents 773bd55 + 330ae92 commit 3b587ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gpg-common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ enum {
2929
opt_command_fd,
3030
opt_comment,
3131
opt_compress_algo,
32+
opt_default_key,
3233
opt_default_recipient,
3334
opt_default_recipient_self,
3435
opt_digest_algo,
@@ -143,6 +144,7 @@ static const int gpg_allowed_options[] = {
143144
opt_clear_sign,
144145
opt_comment,
145146
opt_compress_algo,
147+
opt_default_key,
146148
opt_default_recipient_self,
147149
opt_digest_algo,
148150
opt_emit_version,
@@ -259,6 +261,7 @@ static const struct option gpg_long_options[] = {
259261
{"comment", 1, 0, opt_comment},
260262
{"compress-algo", 1, 0, opt_compress_algo},
261263
{"decrypt", 0, 0, 'd'},
264+
{"default-key", 1, 0, opt_default_key},
262265
{"default-recipient", 1, 0, opt_default_recipient},
263266
{"default-recipient-self", 0, 0, opt_default_recipient_self},
264267
{"detach-sign", 0, 0, 'b'},

0 commit comments

Comments
 (0)