[LOG2LINES] Partially sync output format from command line input (#1109)

This commit is contained in:
Serge Gautherie 2018-12-21 00:27:01 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent c2083ed360
commit 5c77cd9050

View file

@ -644,8 +644,12 @@ main(int argc, const char **argv)
if (exefile)
{
l2l_dbg(2, "translating %s %s\n", exefile, offset);
translate_file(exefile, my_atoi(offset), Line);
printf("%s\n", Line);
printf("<%s:%s", exefile, offset);
if (!translate_file(exefile, my_atoi(offset), Line))
{
printf(" (%s)", Line);
}
printf(">\n");
report(conOut);
}
else