]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
missing parameter in 'threshold' command help
[proxmark3-svn] / client / cmddata.c
index aa59edc9257e3601d03e8f3fe4f1dc323ea66ac4..05a375c5e1296cfc69ea34f70c968984ca005668 100644 (file)
@@ -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, "<filename> -- Save trace (from graph window)"},
   {"scale",         CmdScale,           1, "<int> -- Set cursor display scale"},
-  {"threshold",     CmdThreshold,       1, "Maximize/minimize every value in the graph window depending on threshold"},
+  {"threshold",     CmdThreshold,       1, "<threshold> -- Maximize/minimize every value in the graph window depending on threshold"},
   {"zerocrossings", CmdZerocrossings,   1, "Count time between zero-crossings"},
   {NULL, NULL, 0, NULL}
 };
Impressum, Datenschutz