# HG changeset patch # User Matti Hamalainen # Date 1582431204 -7200 # Node ID 0d86e7ff49e14204339159cbc896026c0ec07c2f # Parent 2fcd8d712b1e49c67eef6b5c0ec2850e40798c0f Print binary name and input file name when outputting -o options. diff -r 2fcd8d712b1e -r 0d86e7ff49e1 tools/fanalyze.c --- a/tools/fanalyze.c Wed Feb 19 18:25:50 2020 +0200 +++ b/tools/fanalyze.c Sun Feb 23 06:13:24 2020 +0200 @@ -730,7 +730,10 @@ BOOL sep = FALSE; if (optOffsetMode) - printf("-o "); + { + printf("%s %s -o ", + argv[0], file->filename); + } for (size_t offs = 0; offs + (def->bsize * node->nvalues) < file->size; offs++) {