X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/26aa7d73ad95172e8e322da0a2de3905b9da377e..dbf444a179ec8639b790e795ac828c51b9da70fa:/client/cmddata.c diff --git a/client/cmddata.c b/client/cmddata.c index aa59edc9..05a375c5 100644 --- a/client/cmddata.c +++ b/client/cmddata.c @@ -476,9 +476,9 @@ int CmdSamples(const char *Cmd) int CmdLoad(const char *Cmd) { - FILE *f = fopen(Cmd, "r"); + FILE *f = fopen(Cmd + 1, "r"); if (!f) { - PrintAndLog("couldn't open '%s'", Cmd); + PrintAndLog("couldn't open '%s'", Cmd + 1); return 0; } @@ -867,7 +867,7 @@ static command_t CommandTable[] = {"samples", CmdSamples, 0, "[128 - 16000] -- Get raw samples for graph window"}, {"save", CmdSave, 1, " -- Save trace (from graph window)"}, {"scale", CmdScale, 1, " -- Set cursor display scale"}, - {"threshold", CmdThreshold, 1, "Maximize/minimize every value in the graph window depending on threshold"}, + {"threshold", CmdThreshold, 1, " -- Maximize/minimize every value in the graph window depending on threshold"}, {"zerocrossings", CmdZerocrossings, 1, "Count time between zero-crossings"}, {NULL, NULL, 0, NULL} };