OpenPGP: accept -E as option in openpgp-tool

- make behaviour match the usage message by accepting '-E' as
  alternative short form of '--erase'
This commit is contained in:
Peter Marschall 2015-10-12 12:37:40 +02:00
parent 851e0a24ff
commit e79f1f4b01
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ static int decode_options(int argc, char **argv)
{
int c;
while ((c = getopt_long(argc, argv,"r:x:CUG:L:hwvVd:", options, (int *) 0)) != EOF) {
while ((c = getopt_long(argc, argv,"r:x:CUG:L:EhwvVd:", options, (int *) 0)) != EOF) {
switch (c) {
case 'r':
opt_reader = optarg;