mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
card: Add command "bye"
* tools/gpg-card.c: Add command "bye" as alias for "quit". * tools/gpg-connect-agent.c (main): Add "/quit" as alias for "/bye"
This commit is contained in:
parent
46a3de4b5a
commit
08310849a2
@ -3152,6 +3152,7 @@ static struct
|
||||
} cmds[] = {
|
||||
{ "quit" , cmdQUIT, N_("quit this menu")},
|
||||
{ "q" , cmdQUIT, NULL },
|
||||
{ "bye" , cmdQUIT, NULL },
|
||||
{ "help" , cmdHELP, N_("show this help")},
|
||||
{ "?" , cmdHELP, NULL },
|
||||
{ "list" , cmdLIST, N_("list all available data")},
|
||||
|
@ -1809,7 +1809,7 @@ main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!strcmp (cmd, "bye"))
|
||||
else if (!strcmp (cmd, "bye") || !strcmp (cmd, "quit"))
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user