Make source match the documentation (I thought I'd committed these yesterday,

but it seems not).

Bump default number of bits from 1024 to 2048.

Add --armor as a synonym for --armour, and prepare for the great spelling war
of 2009.
This commit is contained in:
agc 2009-01-30 21:39:42 +00:00
parent 6e89a762d6
commit c804754594
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@
#include <openpgpsdk/packet-show.h> #include <openpgpsdk/packet-show.h>
#include <openpgpsdk/util.h> #include <openpgpsdk/util.h>
#define DEFAULT_NUMBITS 1024 #define DEFAULT_NUMBITS 2048
#define MAXBUF 1024 #define MAXBUF 1024
@ -107,6 +107,7 @@ static struct option long_options[] = {
{"userid", required_argument, NULL, USERID}, {"userid", required_argument, NULL, USERID},
{"passphrase", required_argument, NULL, PASSPHRASE}, {"passphrase", required_argument, NULL, PASSPHRASE},
{"homedir", required_argument, NULL, HOMEDIR}, {"homedir", required_argument, NULL, HOMEDIR},
{"armor", no_argument, NULL, ARMOUR},
{"armour", no_argument, NULL, ARMOUR}, {"armour", no_argument, NULL, ARMOUR},
{"numbits", required_argument, NULL, NUMBITS}, {"numbits", required_argument, NULL, NUMBITS},