add "rm" alias for "delete" and "exit" alias for "quit".

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1756 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2004-03-14 19:53:23 +00:00
parent 345d30a9d6
commit 6460502b98
1 changed files with 2 additions and 0 deletions

View File

@ -1246,6 +1246,7 @@ struct command cmds[] = {
{ "info", do_info, "display attributes of card file" },
{ "create", do_create, "create a new EF" },
{ "delete", do_delete, "remove an EF/DF" },
{ "rm", do_delete, "remove an EF/DF" },
{ "verify", do_verify, "present a PIN or key to the card" },
{ "change", do_change, "change a PIN" },
{ "unblock", do_unblock, "unblock a PIN" },
@ -1259,6 +1260,7 @@ struct command cmds[] = {
{ "erase", do_erase, "erase card" },
{ "random", do_random, "obtain N random bytes from card" },
{ "quit", do_quit, "quit this program" },
{ "exit", do_quit, "quit this program" },
{ 0, 0, 0 }
};