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:
parent
851e0a24ff
commit
e79f1f4b01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue