]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/emv/cmdemv.c
delete old help
[proxmark3-svn] / client / emv / cmdemv.c
index c40a9a69b3544d1861001bdaedea09c0664213cb..65a1639ac72560552e7a99d5b50d42c7c57476ee 100644 (file)
 #include "test/cryptotest.h"
 #include "cliparser/cliparser.h"
 
-int UsageCmdHFEMVSelect(void) {
-       PrintAndLog("HELP :  Executes select applet command:\n");
-       PrintAndLog("Usage:  hf emv select [-s][-k][-a][-t] <HEX applet AID>\n");
-       PrintAndLog("  Options:");
-       PrintAndLog("  -s       : select card");
-       PrintAndLog("  -k       : keep field for next command");
-       PrintAndLog("  -a       : show APDU reqests and responses\n");
-       PrintAndLog("  -t       : TLV decode results\n");
-       PrintAndLog("Samples:");
-       PrintAndLog(" hf emv select -s a00000000101 -> select card, select applet");
-       PrintAndLog(" hf emv select -s -t a00000000101 -> select card, select applet, show result in TLV");
-       return 0;
-}
-
 int CmdHFEMVSelect(const char *cmd) {
        uint8_t data[APDU_AID_LEN] = {0};
        int datalen = 0;
@@ -51,8 +37,7 @@ int CmdHFEMVSelect(const char *cmd) {
        bool leaveSignalON = arg_get_lit(2);
        bool APDULogging = arg_get_lit(3);
        bool decodeTLV = arg_get_lit(4);
-       if (arg_get_str_len(5))
-               CLIGetStrBLessWithReturn(5, data, &datalen, 0);
+       CLIGetStrBLessWithReturn(5, data, &datalen, 0);
        CLIParserFree();
        
        SetAPDULogging(APDULogging);
Impressum, Datenschutz