style and text
This commit is contained in:
1 parent
5b64df9247
commit
6a95f16102
11 files changed
+243
-219
No files matched your search
@@ -1386,7 +1386,13 @@ int CmdTraceList(const char *Cmd) {
|
||||
if (use_buffer == false) {
|
||||
download_trace();
|
||||
} else if (gs_traceLen == 0 || gs_trace == NULL) {
|
||||
PrintAndLogEx(FAILED, "You requested a trace list in offline mode but there is no trace.");
|
||||
|
||||
if (IfPm3Present() == false) {
|
||||
PrintAndLogEx(FAILED, "You requested a trace list in offline mode but there is no trace.");
|
||||
} else {
|
||||
PrintAndLogEx(FAILED, "You requested a trace list but there is no trace.");
|
||||
}
|
||||
|
||||
PrintAndLogEx(FAILED, "Consider using `" _YELLOW_("trace load") "` or removing parameter `" _YELLOW_("-1") "`");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user