mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
A small step for GnuPG but a huge leap for error codes.
(Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
This commit is contained in:
parent
7250331472
commit
b7b07d36e8
11 changed files with 514 additions and 12 deletions
|
@ -303,6 +303,7 @@ enum cmd_and_opt_values { aNull = 0,
|
|||
oPersonalDigestPreferences,
|
||||
oPersonalCompressPreferences,
|
||||
oEmuMDEncodeBug,
|
||||
oAgentProgram,
|
||||
oDisplay,
|
||||
oTTYname,
|
||||
oTTYtype,
|
||||
|
@ -610,6 +611,7 @@ static ARGPARSE_OPTS opts[] = {
|
|||
{ oPersonalDigestPreferences, "personal-digest-preferences", 2, "@"},
|
||||
{ oPersonalCompressPreferences, "personal-compress-preferences", 2, "@"},
|
||||
{ oEmuMDEncodeBug, "emulate-md-encode-bug", 0, "@"},
|
||||
{ oAgentProgram, "agent-program", 2 , "@" },
|
||||
{ oDisplay, "display", 2, "@" },
|
||||
{ oTTYname, "ttyname", 2, "@" },
|
||||
{ oTTYtype, "ttytype", 2, "@" },
|
||||
|
@ -1876,6 +1878,7 @@ main( int argc, char **argv )
|
|||
case oPersonalCompressPreferences:
|
||||
pers_compress_list=pargs.r.ret_str;
|
||||
break;
|
||||
case oAgentProgram: opt.agent_program = pargs.r.ret_str; break;
|
||||
case oDisplay: opt.display = pargs.r.ret_str; break;
|
||||
case oTTYname: opt.ttyname = pargs.r.ret_str; break;
|
||||
case oTTYtype: opt.ttytype = pargs.r.ret_str; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue